jfree / jfreechart

A 2D chart library for Java applications (JavaFX, Swing or server-side).
http://www.jfree.org/jfreechart/
GNU Lesser General Public License v2.1
1.22k stars 462 forks source link

Add clearSeriesXXX methods for all series settings in AbstractRenderer #364

Open Yuri-Blankenstein-TNO opened 1 year ago

Yuri-Blankenstein-TNO commented 1 year ago

AbstractRenderer provides many setters for configuring rendering settings per series, e.g. AbstractRenderer#setSeriesStroke(int, Stroke). Some of these settings also provide clear methods to reset the renderer configuration, e.g. AbstractRenderer#clearSeriesStrokes(boolean), but many of them omit this method due to which it is very hard to reset a renderer to its defaults.

Please add these missing methods.

Yuri-Blankenstein-TNO commented 1 year ago

I have created a patch and will prepare a pull request 364-Adding-clearSeriesXXX-methods-for-all-series-set.patch