callagga

Can I do ajax call & display text from a LINK in a chart???

Recommended Posts

Hi,

 

 

 

I currently am using the Link features in a chart (e.g. click on one part of a stacked bar line) to go to see a normal record view of those records that made that part of the bar up. This works fine.

 

 

 

Is it possible to do other more advanced things re hotlinking from within the graph, e.g.

 

 

 

[1] Click and then create small window pop up with the text/data on it (populated from your backend) or

 

 

 

[2] Even just "roll over" that area of a bar line, it triggers an AJAX call to backend, and then display return text in a ToolTip

 

 

 

[3] other?

 

 

 

Thanks

Share this post


Link to post
Share on other sites

Hi,

A.You can use the click event or link property of data elements to call a javaScript. You need to write the JavaScript code to do all the AJAX job and show the popup div.

B. I am afraid, rollover event is not exposed, as of now.

c. You can update the whole chart using setDataXML or setDataURL which is an AJAX like feature.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now