I have a chart with a DefaultOHLCDataset. When I click on the chart, I get x and y coordinates from the click event. I am able to translate the click point to data space values by using translateScreenToJava2D. However that is not what I want to do. I want to be able to click on the chart and then display the high, low, open close and volume values that correspond to the mouse click.
I am really stuck. I have looked at the api for DefaultOHLCDataset and ChartPanel and I do not see any way to make this jump. Does anyone know how to do this??
A discussion forum for JFreeChart (a 2D chart library for the Java platform).
1 post • Page 1 of 1