I needed to make some changes to ChartPanel and XYplot to get features a customer of ours needs and wanted to ask if these are of general interest to anyone else.
- a) we wanted to be able to select the zoom in area starting from any starting point, not only the top left corner. The code change allows for a user to zoom in by pressing the left button and making a selection in any direction he wants to. Unzooming is handled through dragging with the right mouse button pressed. Popup menus are shown on right click whithout dragging. Changes made concern ChartPanel only.
- b) we wanted to use the crosshair on both axis a kind of "zero" marker within the coordinate plane because we wanted something to help the user orientate within the plot. Therefore we needed to be able to fix the crosshair in place, regardless of where the user clicks. This behaviour can be set via a flag introduced in XYPlot, that default to false (old behaviour).
P.S. I will be away for the next couple of days so don't be impatient if I reply on monday