You are here

class flotData in Flot 6

Same name and namespace in other branches
  1. 7 flot.module \flotData

Data class for the flot API.

Make some nested objects to keep things simple when creating a data series.

Hierarchy

Expanded class hierarchy of flotData

File

./flot.module, line 111

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

}

Members

Namesort descending Modifiers Type Description Overrides
flotData::$bars public property
flotData::$data public property
flotData::$lines public property
flotData::$points public property
flotData::__construct function