bowofolaf Posted August 9, 2013 Report Share Posted August 9, 2013 Hi, I have a combination chart with a line graph, with visible markers and i'm trying to disable the tooltips on the connecting lines. How do I go about this? Quote Link to comment Share on other sites More sharing options...
AndreG Posted August 13, 2013 Report Share Posted August 13, 2013 Hello Bowofolaf, Unfortunately this is not possible with the chart tooltips API. But it might be accomplishable. First, make the mouse over property of all points call your js code. chart1.AllSeries.Link.OnMouseOver = "mouseover(this);"; Then, display your own tooltip using js: <script type="text/javascript">function mouseover(item) { if (item.shape == 'circle') {//diplay tooltip code here} } </script> Quote Link to comment Share on other sites More sharing options...
bowofolaf Posted August 14, 2013 Author Report Share Posted August 14, 2013 Thanks Andre. Can I use this to "do nothing" when the shape isn't the same as my set marker shape, and have the chartfx tooltips show otherwise (on my marker shape). Or does this completely override the chartfx tooltips(%v). Thanks again. Quote Link to comment Share on other sites More sharing options...
AndreG Posted August 14, 2013 Report Share Posted August 14, 2013 The chart tooltip comes from the image map. chart1.AllSeries.Link.OnMouseOver changes the onmouseover event on the area of the image map. The tooltips changes the text property of the area of the image map (which most browsers use to display tooltip). So if you are going to use onmouseover, I would recommend that you turn off the chart tooltip. Note: if your image marker is not circular, this might not work for you. Test the different markers and see what type of area they use on the source of the page. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.