private function getPieDataSet($label, $data, $index = -1)
    {
        if ($index < 0) {
            $index = rand(0, count($this->pieData) - 1);
        }

        $set = $this->pieData[$index];
        $set['label'] = $label;
        $set['value'] = $data;

        return $set;
    }