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');
 }
示例#5
0
 public function setUp()
 {
     parent::setUp();
     $this->ca = new ColorAxis();
 }
示例#6
0
 public function setUp()
 {
     parent::setUp();
     $this->selectEvent = new Select('jsCallback');
 }
 public function setUp()
 {
     parent::setUp();
     $this->numberFormat = new NumberFormat();
 }
示例#8
0
 public function setUp()
 {
     parent::setUp();
     $this->cc = new ColumnChart('MyTestChart');
 }
示例#9
0
 public function setUp()
 {
     parent::setUp();
     $this->errorEvent = new Error('jsCallback');
 }
 public function setUp()
 {
     parent::setUp();
     $this->dc = new DonutChart('MyTestChart');
 }
示例#11
0
 public function setUp()
 {
     parent::setUp();
     $this->pc = new PieChart('MyTestChart');
 }
示例#12
0
 public function setUp()
 {
     parent::setUp();
     $this->dt = new DataTable();
 }
示例#13
0
 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();
 }
示例#16
0
 public function setUp()
 {
     parent::setUp();
     $this->animationFinishEvent = new AnimationFinish('jsCallback');
 }
示例#17
0
 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'));
 }
示例#21
0
 public function setUp()
 {
     parent::setUp();
     $this->g = new GaugeChart('Temps');
 }
示例#22
0
 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();
 }