enable warning report to the chart.
This commit is contained in:
@@ -53,6 +53,8 @@ abstract class PMA_pChart_Chart extends PMA_Chart
|
|||||||
// create pData object
|
// create pData object
|
||||||
$this->dataSet = new pData;
|
$this->dataSet = new pData;
|
||||||
|
|
||||||
|
$this->chart->reportWarnings('GD');
|
||||||
|
|
||||||
// initialize colors
|
// initialize colors
|
||||||
foreach ($this->getColors() as $key => $color) {
|
foreach ($this->getColors() as $key => $color) {
|
||||||
$this->chart->setColorPalette(
|
$this->chart->setColorPalette(
|
||||||
|
Reference in New Issue
Block a user