Interface StyleAttribute
- All Superinterfaces:
PlotAttribute
- All Known Implementing Classes:
LabelAttribute
,PaintAttribute
,PaintScaleAttribute
,ShapeAttribute
,SizeAttribute
,TooltipAttribute
Interface for customizing the style of series plotted in a graph. Style attributes are best-effort, meaning if a
style is applied to a plot not supporting that style, it is silently ignored.
-
Method Summary
-
Method Details
-
apply
void apply(org.jfree.chart.plot.Plot plot, int dataset, int series) Applies the style to a specific dataset and series.- Parameters:
plot
- the plotdataset
- the index of the datasetseries
- the index of the series
-
apply
default void apply(org.jfree.chart.plot.Plot plot, int dataset) Applies the style to all series within the specified dataset.- Parameters:
plot
- the plotdataset
- the index of the dataset
-