edgars.sults

Tooltips of overlapping data plot points

Recommended Posts

I have a line chart. Often the lines overlap. When this happens, only the topmost line is visible. That's ok, but I'd like the data point tooltips to display not only the topmost value, but also the values of data points below it. Otherwise it's really hard to tell which data plots are under it and match the value. Is this clear enough?

 

 

 

I guess it could be done by checking which data points overlap and aggregating the tooltips, but that sounds complex. Is there any built-in way to show the data?

 

 

 

And another issue... I can drag the legend around the chart. How can I turn that off?

Share this post


Link to post
Share on other sites
Guest Basundhara Ghosal

Hi,

Welcome to FusionCharts forum. :)

Could you please try using the "tooltext" attribute in the <set> element for each of the values which will get displayed while you hover through the chart after it has been rendered?

Ref.- http://www.fusioncharts.com/docs/?/AttDesc/ToolTip.html

Also, could you please try using legendAllowDrag='1' in the chart element to turn off the drag property of the Legend?

Ref.-  http://www.fusioncharts.com/docs/?/ChartSS/Line2D.html

Hope this helps.

Share this post


Link to post
Share on other sites

Thanks for the quick reply! :)

 

 

 

Setting legendAllowDrag to 0 helped fix the legend problem.

 

 

 

The tooltip problem, however, is more difficult than I hoped. According to the documentation, I'd have to manually find all points that are overlapping and build custom tooltips for each of them in order show the data that might be hidden underneath. That will involve a bit of work.

 

 

 

Too bad there's no easier way.

Share this post


Link to post
Share on other sites
Guest Madhumita

Hello,

Can you please send in your XML so that we can solve your issue?

 

Awaiting your reply. :)

Edited by Guest

Share this post


Link to post
Share on other sites

As you'll see when you render the data, there are many overlapping lines, but only the topmost tooltip is visible. I need to see all the product names in the tooltip if they have the same value on that day.

 

 

 

I can't make the XML appear in the post. I tried code tags. How can I show it?

Edited by Guest

Share this post


Link to post
Share on other sites
Guest Madhumita

Hello,

Could you please attach the XML.

The forum has some issues while pasting XMLs.

Apologies for the inconvenience.

Share this post


Link to post
Share on other sites
Guest Basundhara Ghosal

Hi,

Could you please mention the tooltext with all the details just beside each of the value so that when you hover through the rendered chart you can identify each value with the datails mentioned in the tooltip.

Ref.- <set value='20' tooltext="the details that you want to display">

Hope this helps. 

Share this post


Link to post
Share on other sites
Guest Basundhara Ghosal

Hi,

Could you please try it by customizing the tooltext for each datavalues according to your requirement?

If you wish to display a combination, for example, "Pre Avg, 08/11,

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