Skip to content
Extraits de code Groupes Projets
ChartPie.php 826 octets
Newer Older
  • Learn to ignore specific revisions
  • /**
     * Piwik - Open source web analytics
    
    robocoder's avatar
    robocoder a validé
     * @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
    
    robocoder's avatar
    robocoder a validé
     * @category Piwik
     * @package Piwik
    
    /**
     * Generates HTML embed for the Pie chart
    
    robocoder's avatar
    robocoder a validé
     * @package Piwik
     * @subpackage Piwik_ViewDataTable
    
    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';
        }
    
    mattpiwik's avatar
    mattpiwik a validé
    }