You are here

function flotStylePie::__construct in Flot 7

Overrides flotStyle::__construct

File

./flot.module, line 489

Class

flotStylePie

Code

function __construct() {
  parent::__construct();
  $this->series->pie->show = TRUE;
  $this->series->pie->radius = 1;
  $this->series->pie->label = new stdClass();
  $this->series->pie->label->show = TRUE;
  $this->series->pie->label->radius = 2 / 3;
  $this->series->pie->label->threshold = 0.1;
  $this->series->pie->label->background = new stdClass();
  $this->series->pie->label->background->opacity = 1;
}