コード例 #1
0
 public function testIsStackedTrue()
 {
     $data = array();
     $secondSeriesValueData = array();
     $secondSeriesDisplayLabels = array();
     $secondSeriesValueCount = 5;
     $chart = new ChartForReportForm();
     $chart->type = 'StackedBar3D';
     $chart->firstSeries = 'dropDown';
     $chart->firstRange = 'float__Summation';
     $chart->secondSeries = 'radioDropDown';
     $chart->secondRange = 'integer__Summation';
     $report = new Report();
     $report->setChart($chart);
     $adapter = new ReportDataProviderToAmChartMakerAdapter($report, $data, $secondSeriesValueData, $secondSeriesDisplayLabels, $secondSeriesValueCount);
     $this->assertTrue($adapter->isStacked());
 }