Search found 4 matches

by yaun
Sat Nov 11, 2017 2:12 am
Forum: JFreeChart
Topic: Migrating to 1.5.0
Replies: 4
Views: 13807

Migrating to 1.5.0

Thanks for the new version! Making the switch to it was mostly straightforward, the only problem I was not able to figure out was the disappearance of BarRenderer3D, Effect3D. Is there now some other way to do this, or was this feature removed? Below some notes for people who are still going to do t...
by yaun
Fri Jun 17, 2016 3:28 pm
Forum: FXGraphics2D
Topic: Mouse Event Handling
Replies: 3
Views: 34012

Re: Mouse Event Handling

To answer myself here: Use maven to build your own jfreechart.jar with javafx support. Then just use ChartCanvas as a replacement for ChartPanel
by yaun
Fri Jun 17, 2016 1:00 pm
Forum: FXGraphics2D
Topic: Mouse Event Handling
Replies: 3
Views: 34012

Re: Mouse Event Handling

Sorry, I started from the jfreechart example provided FxGraphics2D which was using a simple canvas. Now I discovered that there actually is a ChartCanvas which seems to provide the functionality I was looking for: https://github.com/jfree/jfreechart/tree/master/src/main/java/org/jfree/chart/fx. Wher...
by yaun
Fri Jun 17, 2016 12:30 pm
Forum: FXGraphics2D
Topic: Mouse Event Handling
Replies: 3
Views: 34012

Mouse Event Handling

When using JFreeChart with a ChartPanel I was able to register a ChartMouseListener. The listener's event provided information about which point in the chart was clicked. With FXGraphics2D I can use the generic setOnMouseClicked of the JavaFx Canvas to register a mouse event handler but the only inf...