A few more invalid displayBlanksAs

This commit is contained in:
Adrien Crivelli 2020-05-17 19:35:18 +09:00
parent d49567aad0
commit 15bd764a08
No known key found for this signature in database
GPG Key ID: B182FD79DC6DE92E
5 changed files with 6 additions and 6 deletions

View File

@ -83,7 +83,7 @@ $chart1 = new Chart(
$legend1, // legend
$plotArea1, // plotArea
true, // plotVisibleOnly
0, // displayBlanksAs
DataSeries::EMPTY_AS_GAP, // displayBlanksAs
null, // xAxisLabel
$yAxisLabel1 // yAxisLabel
);

View File

@ -154,7 +154,7 @@ $chart2 = new Chart(
null, // legend
$plotArea2, // plotArea
true, // plotVisibleOnly
0, // displayBlanksAs
DataSeries::EMPTY_AS_GAP, // displayBlanksAs
null, // xAxisLabel
null // yAxisLabel - Like Pie charts, Donut charts don't have a Y-Axis
);

View File

@ -90,7 +90,7 @@ $chart1 = new Chart(
$legend1, // legend
$plotArea1, // plotArea
true, // plotVisibleOnly
0, // displayBlanksAs
DataSeries::EMPTY_AS_GAP, // displayBlanksAs
null, // xAxisLabel
null // yAxisLabel - Pie charts don't have a Y-Axis
);

View File

@ -83,7 +83,7 @@ $chart = new Chart(
$legend, // legend
$plotArea, // plotArea
true, // plotVisibleOnly
0, // displayBlanksAs
DataSeries::EMPTY_AS_GAP, // displayBlanksAs
null, // xAxisLabel
$yAxisLabel // yAxisLabel
);

View File

@ -68,7 +68,7 @@ class Chart
*
* @var string
*/
private $displayBlanksAs = '0';
private $displayBlanksAs = DataSeries::EMPTY_AS_GAP;
/**
* Chart Asix Y as.
@ -148,7 +148,7 @@ class Chart
* @param null|Legend $legend
* @param null|PlotArea $plotArea
* @param mixed $plotVisibleOnly
* @param mixed $displayBlanksAs
* @param string $displayBlanksAs
* @param null|Title $xAxisLabel
* @param null|Title $yAxisLabel
* @param null|Axis $xAxis