ASE Home Page Products Download Purchase Support About ASE
ChartDirector Support
Forum HomeForum Home   SearchSearch

Message ListMessage List     Post MessagePost Message

  addDataSet() color line
Posted by ADQA on Oct-26-2015 17:01
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.