Pass new data file name when reloading data with JavaScript
Today I updated all charts with some small but very important feature. Now, when you trigger data (or settings) reload with JavaScript, you can pass new file name to flash chart. Indeed this can be the same name with some different parameters passed.
Why this is important? Image, you have a web page with a chart and with some forms where user can select something and click “generate chart” button. Before this function you had to reload the page or feed the chart with setData() function, which is not always comfortable. Now, when user clicks on “generate chart” button you can call reload data function and pass parameters selected by user. Generally this will look like this:
reloadData(”data_generator_file.php?param1=10¶m2=20″)
When you data generator will return new data, generated according to parameters passed.
October 18th, 2007 at 7:12 pm
Should be possible to do the inverse way? I mean to pass parameters from the amline data chart to the parent window through javascript.
Cheers