ajax call in fusion charts

ajax call in fusion charts

  
Hi,

I have a nice fusionchart on my screen.
Now the parts of a chart can have a link. I would like the links to be an action link to refresh another webblock (and thus possible a new chart)

Is this possible and if so how?

Hi Joost,

 

I guess you could have a button with an extended property style=display:none that calls a screen Action with method Ajax.

Then, on the chart click url you could use something like javascript:document.getElementById(refreshbuttonID).click();

 

Cheers,

Tiago Simões

and how to add parameters to the click?

In that case I believe you could use a javascript function that fills an hidden input widget before clicking the Ajax button.

To know more about javascript and fusioncharts please take a look into this FusionCharts help page.

 

Cheers,

Tiago Simões

erm,

ok, but how do I know the id of that button?

Hi Joost,

 

If you give a name to a widget you'll be able to to get it's Id runtime property.

 

Cheers,

Tiago Simões

yeah, i think i found the solution.

thankx