This content has been marked as final. Show 4 replies
Hey there...1 person found this helpful
The reason it's not refreshing is because you actually have to tell the flash chart that it NEEDS to refresh. Unless you have Asynchronous Update turned on, the chart will not refresh itself when the data behind the chart has changed. And even if you DO have Asynchronous Update, on, (Which you don't want to do), you'd likely see some lag between your user's change and the data in the graph changing.
1) Edit the chart and go to the REGION DEFINITION tab.
2) In the REGION SOURCE, scroll down to the bottom and ad the following code
That should force the chart to refresh by re-executing the underlying query and passing back in the data to the chart.
NOTE: This function is not part of the publicly documented API's so it's likely not supported, but it does work!
Look for a blog post with more detail sometime tomorrow.
Hope this helps.
Thanks Dough. It worked.
Here's a link to the more detailed blog post for those who are interested.
Can you please mark the question as "answered" so I get credit for it! ;-)
This helped me immensely. Now I can do all sorts of dynamic chart updating. :)
That's the second time you've come through for me in a big way.