Sign in to follow this  
npc

Pie / Bar - Individual Hotspots

Recommended Posts

I found in the documentation the option to enable the entire chart a hotspot, but what I would really like to do is make individual slices or the pie chart or bars in the bar chart hotspots so I can "drill down" into the respective reports.

 

 

 

Does anybody know how to do this?

 

 

 

 

 

Thanks in advance!

Share this post


Link to post
Share on other sites
Guest Rajroop

Hey :),

 

 

 

Welcome to the FusionCharts Forum.

 

 

 

To enable this feature: 'make individual slices or the pie chart or bars in the bar chart hotspots', you could define a simple link for any data plot(slices of the pie charts or columns of the column charts).

 

 

 

Just simply define the link attribute for the element as under:

 

 

 

<set ... value='2235' ... link='ShowDetails.asp%3FMonth%3DJan' ...>

 

(Ref: http://www.fusioncharts.com/Docs/Contents/DrillDown/Simple.html)

 

 

 

You can also set JavaScript links using FusionCharts. That is, you can invoke a JavaScript function present in the same page (in which the chart is present) when the end viewer clicks a data element on the chart.

 

 

 

You just need to place the name of the JavaScript function preceded by "j-" for the element as specified below:

 

 

 

<set label='USA' value='235' link="j-myJS('USA',235)"/>

 

 

 

I hope this helps. :)

Share this post


Link to post
Share on other sites
Guest Basundhara Ghosal

Hi,

I am afraid, as of now FusionCharts does not support any 'target' attribute.

However, normal link leads to _self target, New-window leads to _blank target and Popup-window leads to popup name target.

Hope this helps. :)

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
Sign in to follow this