Skip to content
This repository has been archived by the owner on Jan 2, 2019. It is now read-only.

Commit

Permalink
Fix to Radar and Scatter chart examples
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkBaker committed Aug 13, 2016
1 parent 900325d commit 1c8c237
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
17 changes: 9 additions & 8 deletions Examples/33chartcreate-radar.php
Original file line number Diff line number Diff line change
Expand Up @@ -97,14 +97,15 @@

// Build the dataseries
$series = new PHPExcel_Chart_DataSeries(
PHPExcel_Chart_DataSeries::TYPE_RADARCHART, // plotType
NULL, // plotGrouping (Radar charts don't have any grouping)
range(0, count($dataSeriesValues)-1), // plotOrder
$dataSeriesLabels, // plotLabel
$xAxisTickValues, // plotCategory
$dataSeriesValues, // plotValues
NULL, // smooth line
PHPExcel_Chart_DataSeries::STYLE_MARKER // plotStyle
PHPExcel_Chart_DataSeries::TYPE_RADARCHART, // plotType
NULL, // plotGrouping (Radar charts don't have any grouping)
range(0, count($dataSeriesValues)-1), // plotOrder
$dataSeriesLabels, // plotLabel
$xAxisTickValues, // plotCategory
$dataSeriesValues, // plotValues
NULL, // plotDirection
NULL, // smooth line
PHPExcel_Chart_DataSeries::STYLE_MARKER // plotStyle
);

// Set up a layout object for the Pie chart
Expand Down
1 change: 1 addition & 0 deletions Examples/33chartcreate-scatter.php
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@
$dataSeriesLabels, // plotLabel
$xAxisTickValues, // plotCategory
$dataSeriesValues, // plotValues
NULL, // plotDirection
NULL, // smooth line
PHPExcel_Chart_DataSeries::STYLE_LINEMARKER // plotStyle
);
Expand Down

0 comments on commit 1c8c237

Please sign in to comment.