Jump to content
Software FX Community

Make tooltips not show on connecting line between markers.


bowofolaf
 Share

Recommended Posts

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>
Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...