You are here

function ChartsGraphsCanvas::set_data in Charts and Graphs 7

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

File

./charts_graphs_canvas.class.inc, line 114
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;
}