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

Commit 1c8c237

Browse files
author
MarkBaker
committed
Fix to Radar and Scatter chart examples
1 parent 900325d commit 1c8c237

File tree

2 files changed

+10
-8
lines changed

2 files changed

+10
-8
lines changed

Examples/33chartcreate-radar.php

+9-8
Original file line numberDiff line numberDiff line change
@@ -97,14 +97,15 @@
9797

9898
// Build the dataseries
9999
$series = new PHPExcel_Chart_DataSeries(
100-
PHPExcel_Chart_DataSeries::TYPE_RADARCHART, // plotType
101-
NULL, // plotGrouping (Radar charts don't have any grouping)
102-
range(0, count($dataSeriesValues)-1), // plotOrder
103-
$dataSeriesLabels, // plotLabel
104-
$xAxisTickValues, // plotCategory
105-
$dataSeriesValues, // plotValues
106-
NULL, // smooth line
107-
PHPExcel_Chart_DataSeries::STYLE_MARKER // plotStyle
100+
PHPExcel_Chart_DataSeries::TYPE_RADARCHART, // plotType
101+
NULL, // plotGrouping (Radar charts don't have any grouping)
102+
range(0, count($dataSeriesValues)-1), // plotOrder
103+
$dataSeriesLabels, // plotLabel
104+
$xAxisTickValues, // plotCategory
105+
$dataSeriesValues, // plotValues
106+
NULL, // plotDirection
107+
NULL, // smooth line
108+
PHPExcel_Chart_DataSeries::STYLE_MARKER // plotStyle
108109
);
109110

110111
// Set up a layout object for the Pie chart

Examples/33chartcreate-scatter.php

+1
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@
8989
$dataSeriesLabels, // plotLabel
9090
$xAxisTickValues, // plotCategory
9191
$dataSeriesValues, // plotValues
92+
NULL, // plotDirection
9293
NULL, // smooth line
9394
PHPExcel_Chart_DataSeries::STYLE_LINEMARKER // plotStyle
9495
);

0 commit comments

Comments
 (0)