mirror of
https://github.com/retailcrm/PHPExcel.git
synced 2024-11-24 14:26:04 +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
|
// Build the dataseries
|
||||||
$series = new PHPExcel_Chart_DataSeries(
|
$series = new PHPExcel_Chart_DataSeries(
|
||||||
PHPExcel_Chart_DataSeries::TYPE_RADARCHART, // plotType
|
PHPExcel_Chart_DataSeries::TYPE_RADARCHART, // plotType
|
||||||
NULL, // plotGrouping (Radar charts don't have any grouping)
|
NULL, // plotGrouping (Radar charts don't have any grouping)
|
||||||
range(0, count($dataSeriesValues)-1), // plotOrder
|
range(0, count($dataSeriesValues)-1), // plotOrder
|
||||||
$dataSeriesLabels, // plotLabel
|
$dataSeriesLabels, // plotLabel
|
||||||
$xAxisTickValues, // plotCategory
|
$xAxisTickValues, // plotCategory
|
||||||
$dataSeriesValues, // plotValues
|
$dataSeriesValues, // plotValues
|
||||||
NULL, // smooth line
|
NULL, // plotDirection
|
||||||
PHPExcel_Chart_DataSeries::STYLE_MARKER // plotStyle
|
NULL, // smooth line
|
||||||
|
PHPExcel_Chart_DataSeries::STYLE_MARKER // plotStyle
|
||||||
);
|
);
|
||||||
|
|
||||||
// Set up a layout object for the Pie chart
|
// Set up a layout object for the Pie chart
|
||||||
|
@ -89,6 +89,7 @@ $series = new PHPExcel_Chart_DataSeries(
|
|||||||
$dataSeriesLabels, // plotLabel
|
$dataSeriesLabels, // plotLabel
|
||||||
$xAxisTickValues, // plotCategory
|
$xAxisTickValues, // plotCategory
|
||||||
$dataSeriesValues, // plotValues
|
$dataSeriesValues, // plotValues
|
||||||
|
NULL, // plotDirection
|
||||||
NULL, // smooth line
|
NULL, // smooth line
|
||||||
PHPExcel_Chart_DataSeries::STYLE_LINEMARKER // plotStyle
|
PHPExcel_Chart_DataSeries::STYLE_LINEMARKER // plotStyle
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user