You are here

function ChartsAmcharts::set_data in Charts and Graphs 6

Overrides ChartCanvas::set_data

File

apis/amcharts/amcharts.class.inc, line 20
Implementation of abstract class ChartCanvas for amCharts library.

Class

ChartsAmcharts
Implementation of abstract class ChartCanvas for amCharts library.

Code

function set_data($rows, $x_labels) {
  $this->series = $rows;
  $this->x_labels = $x_labels;
}