Simple Read of Chart Values

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
blahfunk
Posts: 8
Joined: Wed Jan 17, 2018 5:52 pm
antibot: No, of course not.

Simple Read of Chart Values

Post by blahfunk » Wed Jan 17, 2018 6:08 pm

I am hoping there is a better way to get tooltip values of data in a linegraph. To hover over a point can be difficult if there aren't a ton of points. I have another program we use in the office that just draws a line where your mouse pointer is and shows the tooltips for all graph lines that intersect with that line. Is there a similar feature in JFreeChart and if not would anyone have a suggestion on how to implement such a feature?

John Matthews
Posts: 513
Joined: Wed Sep 12, 2007 3:18 pm

Re: Simple Read of Chart Values

Post by John Matthews » Wed Jan 17, 2018 11:53 pm

Several alternatives are examined here, including using (larger) shapes and/or a ChartMouseListener.

Locked