show legend when we clicks on specific link/icon
FusionCharts Forum
Home       Members    Calendar    Who's On
Welcome Guest ( Login | Register )
        



show legend when we clicks on specific... Expand / Collapse
Author
Message
Posted 4/24/2008 6:53:35 AM
Forum Member

Forum MemberForum MemberForum MemberForum MemberForum MemberForum MemberForum MemberForum Member

Group: Forum Members
Last Login: 7/7/2008 5:48:06 AM
Posts: 28, Visits: 46
HI,

Is it possible in the fusion chart to show legend only when we clicks on specific link/icon?

or show it when mouseover.

My requirement is by default I dont want to show the legend. I need to place the icon/link in the bottom of the chart and I need to show the legend when mouseover on the icon or onclick of the icon.

Is it possible in the fusion chart?

Post #5915
Posted 4/24/2008 7:42:33 AM
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Moderators
Last Login: 2 days ago @ 2:56:41 AM
Posts: 704, Visits: 1,139
Hi,

For this you would need to redraw the chart on each mouse over/click. Primarly you would put an attribute showLegend='0' to hide the legend. on mouse over over icon you would need to pass the XML again to the chart now with showLegend='1' and if you want to show/hide legend only of a specic dataset you can  add includeInLegend='1' or includeInLegend='0' in<dataset>.

But, note that you would need to pass the XML which would redtaw the chart. If you set animation='0' this effect wont event take a flicker.

Regards,

Sudipto Choudhury
FusionCharts Team

Post #5921
Posted 4/25/2008 5:39:32 AM
Forum Member

Forum MemberForum MemberForum MemberForum MemberForum MemberForum MemberForum MemberForum Member

Group: Forum Members
Last Login: 7/7/2008 5:48:06 AM
Posts: 28, Visits: 46
Hi,

Thanks a lot for your nice idea. I forgot to mention one thing. Like the tooltip popup I need to show the legend in the popup on mouseover of the icon and I need to hide it on mouse out. Do we have this feature in the fusion.

Thanks,

Moorthy

Post #5931
« Prev Topic | Next Topic »


Permissions Expand / Collapse

All times are GMT -7:00, Time now is 2:57pm


Execution: 0.031.