예제 #1
0
 public function afterAllFiltersAreApplied()
 {
     parent::afterAllFiltersAreApplied();
     if (false === $this->config->x_axis_step_size) {
         $rowCount = $this->dataTable->getRowsCount();
         $this->config->x_axis_step_size = $this->getDefaultXAxisStepSize($rowCount);
     }
 }
예제 #2
0
파일: Pie.php 프로젝트: piwik/piwik
 public function afterAllFiltersAreApplied()
 {
     parent::afterAllFiltersAreApplied();
     $metricColumn = reset($this->config->columns_to_display);
     if ($metricColumn == 'label') {
         $metricColumn = next($this->config->columns_to_display);
     }
     $this->config->columns_to_display = array($metricColumn ?: 'nb_visits');
 }
예제 #3
0
 public function beforeRender()
 {
     parent::beforeRender();
     $this->config->datatable_js_type = 'JqplotBarGraphDataTable';
 }