You are here

function ChartsGraphsCanvas::set_data in Charts and Graphs 6.2

Same name and namespace in other branches
  1. 7.2 charts_graphs_canvas.class.inc \ChartsGraphsCanvas::set_data()
  2. 7 charts_graphs_canvas.class.inc \ChartsGraphsCanvas::set_data()

File

./charts_graphs_canvas.class.inc, line 88
abstract class ChartsGraphsCanvas.

Class

ChartsGraphsCanvas
Each graphing library implementation should create a derivative of this class.

Code

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