Get series index from the crosshair

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
SystemsEngineer
Posts: 16
Joined: Thu Jan 19, 2017 5:54 pm
antibot: No, of course not.

Get series index from the crosshair

Post by SystemsEngineer » Mon Apr 03, 2017 6:35 pm

Hi,

I was wondering if it is possible to get the series index (or key) of a data point which a crosshair points at (in the same way we can get its x, y values for example).

Any help is welcome!

david.gilbert
JFreeChart Project Leader
Posts: 11734
Joined: Fri Mar 14, 2003 10:29 am
antibot: No, of course not.
Contact:

Re: Get series index from the crosshair

Post by david.gilbert » Mon Apr 03, 2017 6:47 pm

That's not provided by the current API, but I think it would be a good feature.
David Gilbert
JFreeChart Project Leader

:idea: Read my blog
:idea: Support JFree via the Github sponsorship program

Locked