Lines Matching defs:data
39 * @param array $data associative array contianing label and values
41 protected function PieChart($data) {
47 $DataSet->AddPoints(array_values($data), 'Serie1');
48 $DataSet->AddPoints(array_keys($data), 'Serie2');
69 * Build a PieChart with only the top data shown and all other summarized
71 * @param string $query The function to call on the Query object to get the data
77 $data = array();
81 $data[$row[$key]] = $row['cnt'];
83 $data['other'] += $row['cnt'];
87 $this->PieChart($data);
108 $data = array();
111 $data[] = $row['cnt'];
122 $DataSet->AddPoints($data, 'Serie1');