public class ChartStyler extends java.lang.Object implements ChartElementVisitor
ChartElementVisitor that applies a chart style to the elements
of a chart.| Constructor and Description |
|---|
ChartStyler(ChartStyle style)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
styleAxis(Axis3D axis)
Applies the current style to the axis.
|
protected void |
styleCategoryAxis(CategoryAxis3D axis) |
protected void |
styleCategoryRenderer3D(CategoryRenderer3D renderer) |
protected void |
styleChart(Chart3D chart)
Applies the current style to a chart.
|
protected void |
styleMarker(Marker marker) |
protected void |
stylePlot(Plot3D plot)
Applies the current style to the plot.
|
protected void |
styleRenderer(Renderer3D renderer) |
protected void |
styleValueAxis(ValueAxis3D axis) |
protected void |
styleXYZRenderer(XYZRenderer renderer) |
void |
visit(ChartElement element)
Visits a chart element and applies the current style to that element.
|
public ChartStyler(ChartStyle style)
style - the style (null not permitted).public void visit(ChartElement element)
visit in interface ChartElementVisitorelement - the chart element (never null).protected void styleChart(Chart3D chart)
chart - the chart (null not permitted).protected void stylePlot(Plot3D plot)
plot - the plot (null not permitted).protected void styleAxis(Axis3D axis)
axis - the axis (null not permitted).protected void styleCategoryAxis(CategoryAxis3D axis)
protected void styleValueAxis(ValueAxis3D axis)
protected void styleRenderer(Renderer3D renderer)
protected void styleCategoryRenderer3D(CategoryRenderer3D renderer)
protected void styleXYZRenderer(XYZRenderer renderer)
protected void styleMarker(Marker marker)