0

Hi,
I am using jpgraph library for creating graph of patients and displaying their growth chart. The data is displaying correctly. But I want to add tool tip on each point that which point is pointing to which patient. When the user hovers on the point. The jgraph is creating an image. Is this possible or can I get a link fro graphs that includes percentile,tooltip and line graph.
Thanks in advance.

Edited by diafol: wrong forum

2
Contributors
3
Replies
17
Views
4 Years
Discussion Span
Last Post by gon1387
0

Hi saadi06,
JPGraph purely uses php for graph rendering. Please move this thread to php, as you might get a better answer from there.

0

I placed this post in the php forum but the moderator set this to javascript

Edited by saadi06

0

Oh bummer. Anyway, I can't answer that much with JPGraph, but it renders dynamic images from the server then the browser fetches the image and displays it. Adding tooltip would mean, using image maps. This can be a lot harder on your part, doing twice the work you'd do compared to using client-side charting solutions.

If you want interactive charts, you can use tools like highcharts and jqcharts for client-side chart creation. it's a lot better that JPGraph as it removes the overhead of generating images on the server.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.