public function setUp() { parent::setUp(); $this->jsf = new JavascriptFactory(); $this->mlc = m::mock('Khill\\Lavacharts\\Charts\\LineChart', array('TestChart'))->makePartial(); $this->mdt = m::mock('Khill\\Lavacharts\\Configs\\DataTable')->makePartial(); $this->mdt->addColumn('number')->addColumn('number')->addColumn('number')->addRow(array(10101, 12345, 67890)); }
public function setUp() { parent::setUp(); $this->readyEvent = new Ready('jsCallback'); }
public function setUp() { parent::setUp(); $this->lc = new LineChart('MyTestChart'); }
public function setUp() { parent::setUp(); $this->cc = new CalendarChart('MyTestChart'); }
public function setUp() { parent::setUp(); $this->ca = new ColorAxis(); }
public function setUp() { parent::setUp(); $this->selectEvent = new Select('jsCallback'); }
public function setUp() { parent::setUp(); $this->numberFormat = new NumberFormat(); }
public function setUp() { parent::setUp(); $this->cc = new ColumnChart('MyTestChart'); }
public function setUp() { parent::setUp(); $this->errorEvent = new Error('jsCallback'); }
public function setUp() { parent::setUp(); $this->dc = new DonutChart('MyTestChart'); }
public function setUp() { parent::setUp(); $this->pc = new PieChart('MyTestChart'); }
public function setUp() { parent::setUp(); $this->dt = new DataTable(); }
public function setUp() { parent::setUp(); $this->gc = new GeoChart('MyTestChart'); }
public function setUp() { parent::setUp(); $this->ac = new AreaChart('MyTestChart'); }
public function setUp() { parent::setUp(); $this->mlc = m::mock('Khill\\Lavacharts\\Charts\\LineChart', array('TestChart'))->makePartial(); }
public function setUp() { parent::setUp(); $this->animationFinishEvent = new AnimationFinish('jsCallback'); }
public function setUp() { parent::setUp(); $this->dateFormat = new DateFormat(); }
public function setUp() { parent::setUp(); $this->mouseOut = new MouseOut('jsCallback'); }
public function setUp() { parent::setUp(); $this->options = array('formatType' => 'short', 'pattern' => 'Y-m-d', 'timeZone' => 'PST'); $this->dateFormat = new DateFormat($this->options); }
public function setUp() { parent::setUp(); $this->a = new Annotation(); $this->mockTextStyle = $this->getMock('\\Khill\\Lavacharts\\Configs\\TextStyle', array('__construct')); }
public function setUp() { parent::setUp(); $this->g = new GaugeChart('Temps'); }
public function setUp() { parent::setUp(); $this->bc = new BarChart('MyTestChart'); }
public function setUp() { parent::setUp(); $this->va = new VerticalAxis(array()); $this->mockTextStyle = $this->getMock('\\Khill\\Lavacharts\\Configs\\TextStyle', array('__construct')); }
public function setUp() { parent::setUp(); $this->ts = new TextStyle(); }