pntran1 Report post Posted May 14, 2008 Hello, When I use setData to update the angular gauge using setData, the gauge will stop working if the value is greater than the upper limit. Can the upper limit be updated using setData or some other method? I would like to be able to use setData method to update the value on the client side without getting a new XML file from the server. Thanks Share this post Link to post Share on other sites
Pallav Report post Posted May 18, 2008 Hi, I'm afraid you cannot update the limits of a chart after it has been rendered. Share this post Link to post Share on other sites
pntran1 Report post Posted May 21, 2008 Thanks for the info. Would it be possible to re-render the chart so that it updates the upper limit on the client side after using setData? I would like to be able to change the value from the client side and it does exceed the upper limit sometimes. Share this post Link to post Share on other sites
Pallav Report post Posted May 23, 2008 Yes - you can re-render the chart at client side. But in that case, all data that had been streamed to chart after last loading would be lost (unless you account for them in the new XML). Share this post Link to post Share on other sites
pntran1 Report post Posted May 24, 2008 Re-redendering doesn't work for me. I got "Objective does not support this property or method" error. I'd like to just to a new xml file to update the upper limit and avoid having to create a new chart and load the swf again. Am I missing something? Please let me know. Thanks. chartObj = getChartFromId("myChartId"); chartObj.setDataXML("fivehundred_mbpls.xml"); chartObj.render("chartdiv"); <-- "Objective does not support this property or method" error is thrown here. Share this post Link to post Share on other sites