PostalGirl Report post Posted May 31, 2007 I'm using the dataXML method with coldfusion and javascript from the example provided with FusionCharts v3 (cfm_js_xml.html). In the function updateChart, a 'factoryIndex' is called from the first chart and is used to populate the bottom chart. This works great. However, this 'factoryIndex' number is also populated in the caption of the bottom chart. Is there a way to have the caption populate with the name of the factory selected rather than with the index value? The index is just a sequentially increasing number and is not very useful as an identifier. I'm showing weekly data for several locations in the top chart (latest week available) and when I click on one of the locations, I have their specific weekly trend show in the bottom chart...but I want the location name to show in the caption, not an index number. I'm thinking that another variable would need to be defined and used, but I am clueless as to how to do it. Thanks for any help. Share this post Link to post Share on other sites
Pallav Report post Posted June 1, 2007 You'll then additionally need to pass the factory name from top chart to bottom chart. Also, while building the XML, this has to be taken into account. Share this post Link to post Share on other sites
PostalGirl Report post Posted June 7, 2007 I have included the name in the update function, but it comes into the xml as 'undefined'...how do I define the value? Share this post Link to post Share on other sites
Pallav Report post Posted June 12, 2007 Can you forward me the output XML generated for the first chart by your CF script? Share this post Link to post Share on other sites
PostalGirl Report post Posted June 12, 2007 No need...I got it working!! Thanks anyways. Share this post Link to post Share on other sites