Hello,
I'm using chartdirector in PHP and I'm trying to assign a color to the addDataSet() function. It works fine if I put the color in this way
addDataSet($data, 0xff0000, $name );
but I need to put the color from a variable, and it doesn't work
addDataSet($data, $color, $name );
Any help, please?
Thank you in advance. |