You are here

function ChartsGraphsAmcharts::_preprocess_values in Charts and Graphs 7

Same name and namespace in other branches
  1. 6.2 apis/charts_graphs_amcharts/charts_graphs_amcharts.class.inc \ChartsGraphsAmcharts::_preprocess_values()
1 call to ChartsGraphsAmcharts::_preprocess_values()
ChartsGraphsAmcharts::get_chart in apis/charts_graphs_amcharts/charts_graphs_amcharts.class.inc
Function that renders data.

File

apis/charts_graphs_amcharts/charts_graphs_amcharts.class.inc, line 48

Class

ChartsGraphsAmcharts
Implementation of abstract class ChartsGraphsFlashCanvas for amCharts library.

Code

function _preprocess_values() {
  if (in_array($this->type, array(
    'pie',
    'donut',
    'pie_3d',
    'donut_3d',
  ))) {
    $this
      ->_preprocess_values_pie();
  }
  else {
    $this
      ->_preprocess_values_not_pie();
  }
}