You are here

function flotData::__construct in Flot 6

Same name and namespace in other branches
  1. 7 flot.module \flotData::__construct()

File

./flot.module, line 118

Class

flotData
Data class for the flot API.

Code

function __construct($data) {
  $this->data = $data;
  $this->lines = new stdClass();
  $this->bars = new stdClass();
  $this->points = new stdClass();
  $this->grid = new StdClass();
}