Hello,
I try to change the colors in a chart and have added the following code (according to documentation):
$paramsChart = array(
'data' => $data,
'type' => 'barChart',
'color' => '3',
'chartAlign' => 'center',
'sizeX' => '14',
'sizeY' => '14',
'legendPos' => 'b',
'legendOverlay' => '0',
'border' => '1',
'hgrid' => '10',
'vgrid' => '0',
'groupBar' => 'stacked',
'theme' => array(
'valueRgbColors' => array(array('4C0099', 'FF0000', 'FF8800','00CC00')),
'serRgbColors' => array(array('4C0099', 'FF0000', 'FF8800','00CC00')),
)
);
But the chart is always displayed in the blue scheme (have also tried to use only serRgbColors or valueRgbColors, but no change)
What is wrong here?
Thanks!