XYLineChart get mouse click anywhere on the chart

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Post Reply
gsingh
Posts: 5
Joined: Mon Aug 20, 2018 10:34 am
antibot: No, of course not.

XYLineChart get mouse click anywhere on the chart

Post by gsingh » Wed Sep 12, 2018 9:27 am

On my XYLineChart, I would like to implement the ability for it to be able to register the X- value wherever I click on the chart panel, whether there is a plot there or not, and then add an annotation on every plot at that X Value.

Does anyone know how I can go about this?

Post Reply