function flotStyle::__construct in Flot 6
Same name and namespace in other branches
- 7 flot.module \flotStyle::__construct()
3 calls to flotStyle::__construct()
3 methods override flotStyle::__construct()
File
- ./
flot.module, line 139
Class
- flotStyle
- Style class for the flot API.
Code
function __construct() {
$this->lines = new StdClass();
$this->bars = new StdClass();
$this->points = new StdClass();
$this->lines->show = FALSE;
$this->bars->show = FALSE;
$this->points->show = FALSE;
$this->colors = array(
'#666',
'#999',
'#ccc',
);
$this->shadowSize = 0;
$this->grid = new StdClass();
$this->grid->labelMargin = 0;
$this->grid->tickColor = '#eee';
$this->grid->backgroundColor = '#f8f8f8';
$this->grid->borderWidth = 0;
$this->grid->hoverable = true;
$this->grid->autoHighlight = true;
$this->grid->clickable = false;
}