Let users edit series in JFreeChart XY plots
Asked Answered
C

1

1

I'm using JFreeChart to make some graphs in a Java application. I'm trying to figure out how to let the user edit the series paint/stroke. In the Chart Properties window there's a spot for this, but it just says "No editor implemented". Is there a way through the API to provide JFreeChart with an editor for these properties, or do I have to implement one totally separately from the Chart Properties editing window?

screenshot

Celestyn answered 30/6, 2013 at 19:8 Comment(0)
I
2

Support for this is described as "incomplete" in org.jfree.chart.editor. As a start, you can look in DefaultChartEditor to see how the "BackgroundPaint" command is handled. You may be able to use ChartEditorManager to specify a ChartEditorFactory that uses your custom ChartEditor; you may also want to check out a copy of the development branch, cited here, using svn.

Inefficacy answered 30/6, 2013 at 22:39 Comment(1)
Ah well. Thanks for the pointers, I will look into a custom solution.Celestyn

© 2022 - 2024 — McMap. All rights reserved.