-
-
Notifications
You must be signed in to change notification settings - Fork 484
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Crosshairs broken in v1.5.4 #340
Comments
Thanks for having taken a look! |
I know exactly when this was introduced, see #233 (comment). |
I've created an alternative solution that prevents charts without corsshairs to redraw on every mouse click, see #362. For this I have reused - what seems - an older implementation JFreeChart#handleClick(...) that exactly seems to solve this issue. This public method isn't called anywhere else anymore within the library. |
Going from release v1.5.3 to v1.5.4 crosshair functionality stopped working. Clicking on charts no longer updates the crosshair.
To reproduce:
Setup
Note: jfree-demos currently lists JfreeChart v1.5.3 in the README but doesn't have a v1.5.3 release tag. It's up to v1.5.2.
git clone https://github.com/jfree/jfree-demos.git
cd jfree-demos
git checkout -b crosshair-test v2.0
Test v1.5.2
mvn clean package
java -cp target/org.jfree.demos-2.0-jar-with-dependencies.jar org.jfree.chart.demo2.TimeSeriesChartDemo1
Test v1.5.3
Test v1.5.4
I suspect it's related to a v1.5.4 contribution.
The text was updated successfully, but these errors were encountered: