Newer
Older
mattpiwik
a validé
<?php
/**
* Piwik - Open source web analytics
BeezyT
a validé
*
* @link http://piwik.org
BeezyT
a validé
*
*/
mattpiwik
a validé
/**
* Generates HTML embed for the Pie chart
BeezyT
a validé
*
mattpiwik
a validé
*/
BeezyT
a validé
mattpiwik
a validé
class Piwik_ViewDataTable_GenerateGraphHTML_ChartPie extends Piwik_ViewDataTable_GenerateGraphHTML
{
public function __construct()
{
parent::__construct();
$this->graphType = 'pie';
$this->viewProperties['graph_limit'] = 6;
$this->viewProperties['allow_multi_select_series_picker'] = false;
}
protected function getViewDataTableId()
{
return 'graphPie';
}
protected function getViewDataTableIdToLoad()
{
return 'generateDataChartPie';
}