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 the switch.
New maven coordinates:
Code: Select all
// https://mvnrepository.com/artifact/org.jfree/jfreechart compile group: 'org.jfree', name: 'jfreechart', version: '1.5.0' // https://mvnrepository.com/artifact/org.jfree/jfreechart-fx compile group: 'org.jfree', name: 'jfreechart-fx', version: '1.0.0'
Some class renaming:
ChartUtilities becomes ChartUtils
DatasetUtilities becomes DatasetUtils
Some path renaming:
org.jfree.ui.RectangleInsets becomes org.jfree.chart.ui.RectangleInsets
org.jfree.ui.RectangleEdge becomes org.jfree.chart.ui.RectangleEdge
Some method renaming:
renderer.setShapesVisible() becomes renderer.setDefaultShapesVisible()
renderer.setBaseItemLabelGenerator() become renderer.setDefaultItemLabelGenerator()
One behavioral change that I had to look into is that when using both a MouseHandlerFX and a ChartMouseListenerFX on the same chart, the ChartMouseListenerFX now gets fired last, while before it got fired first (at least for my app this is the case, not sure what factors influence the sequence here).