I have pcharts on my website. I want to add some JavaScript function for client side facility. If any user mouseover on graph,it shows values on tooltip. Is it possible? Can anybody know how can I do this? Please help me.
Asked
Active
Viewed 1,464 times
-2
-
Duplicate of http://stackoverflow.com/questions/175115/how-to-show-ballon-tooltip-when-mouse-stops – Binary Worrier Jul 29 '09 at 14:10
2 Answers
2
pChart supports this functionality out of the box. See here: http://pchart.sunyday.net/ImageMap/

Klas
- 21
- 2
0
You can use the "title" attribute of HTML
<a id="tooltipsample" href="linktarget" title="Tooltip">Sample Link</a>
or set it in javascript
<script type="text/javascript">
document.getElementById(tooltipsample).title="New Tooltip";
</script>
<a id="tooltipsample" href="linktarget" title="Tooltip">Sample Link</a>
or with jquery
$('a#tooltipsample').attr('title', 'New Tooltip');

Cadoc
- 251
- 1
- 6