Skip to content

Commit

Permalink
Merge pull request PHPOffice#435 from masanaikeshima/patch-1
Browse files Browse the repository at this point in the history
Fixing Pie Chart example to display pie charts
  • Loading branch information
Mark Baker committed Sep 10, 2014
2 parents 4baab36 + 548ff7c commit 981eaab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Examples/33chartcreate-pie.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@
// Build the dataseries
$series1 = new PHPExcel_Chart_DataSeries(
PHPExcel_Chart_DataSeries::TYPE_PIECHART, // plotType
PHPExcel_Chart_DataSeries::GROUPING_STANDARD, // plotGrouping
NULL, // plotGrouping
range(0, count($dataSeriesValues1)-1), // plotOrder
$dataSeriesLabels1, // plotLabel
$xAxisTickValues1, // plotCategory
Expand Down Expand Up @@ -161,7 +161,7 @@
// Build the dataseries
$series2 = new PHPExcel_Chart_DataSeries(
PHPExcel_Chart_DataSeries::TYPE_DONUTCHART, // plotType
PHPExcel_Chart_DataSeries::GROUPING_STANDARD, // plotGrouping
NULL, // plotGrouping
range(0, count($dataSeriesValues2)-1), // plotOrder
$dataSeriesLabels2, // plotLabel
$xAxisTickValues2, // plotCategory
Expand Down

0 comments on commit 981eaab

Please sign in to comment.