b471code3 Report post Posted June 25, 2007 I have a chart I would like to determine the background color with a specific variable passed from somewhere else but I am not able to do it very efficiently in the current program. What I have is a Webspeed program which then is read by a PHP program which is then put into the chart on a PHP page. The actual XML is determine in the Webspeed program and I would like to determine the color in the PHP program after the XML is formatted and ready to be read by the chart. Any suggestions? Share this post Link to post Share on other sites
Pallav Report post Posted June 25, 2007 If the XML is made by Webspeed and then passed to PHP, you can do use two ways to change bgColor: 1. Use string replacement (either direct or using RegExp) 2. Use XML DOM to read the XML, and then push the new attribute Share this post Link to post Share on other sites