public function beforeLoadDataTable() { $this->calculateEvolutionDateRange(); parent::beforeLoadDataTable(); // period will be overridden when 'range' is requested in the UI // but the graph will display for each day of the range. // Default 'range' behavior is to return the 'sum' for the range if (Common::getRequestVar('period', false) == 'range') { $this->requestConfig->request_parameters_to_modify['period'] = 'day'; } $this->config->custom_parameters['columns'] = $this->config->columns_to_display; }
public function beforeLoadDataTable() { parent::beforeLoadDataTable(); $this->config->datatable_js_type = 'JqplotBarGraphDataTable'; }