mirror of
https://github.com/retailcrm/PHPExcel.git
synced 2024-11-24 06:16:25 +03:00
Fix to Radar and Scatter chart examples
This commit is contained in:
parent
900325d0c8
commit
1c8c2379cc
@ -97,14 +97,15 @@ $dataSeriesValues = array(
|
||||
|
||||
// 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
|
||||
|
@ -89,6 +89,7 @@ $series = new PHPExcel_Chart_DataSeries(
|
||||
$dataSeriesLabels, // plotLabel
|
||||
$xAxisTickValues, // plotCategory
|
||||
$dataSeriesValues, // plotValues
|
||||
NULL, // plotDirection
|
||||
NULL, // smooth line
|
||||
PHPExcel_Chart_DataSeries::STYLE_LINEMARKER // plotStyle
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user