net.sf.clichart.chart
Class DrawingSupplierWrapper
java.lang.Object
net.sf.clichart.chart.DrawingSupplierWrapper
- All Implemented Interfaces:
- org.jfree.chart.plot.DrawingSupplier
public class DrawingSupplierWrapper
- extends java.lang.Object
- implements org.jfree.chart.plot.DrawingSupplier
Wraps a DefaultDrawingSupplier to allow (initially) colours of individual series painters to be overridden
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DrawingSupplierWrapper
public DrawingSupplierWrapper()
addColourOverride
public void addColourOverride(ColourOverride override)
- Add an override for the specified colour. These are used for drawing the lines and bars on charts.
If no override is provided, the default JFreechart colour will be used.
Note that this applies to both line and bar charts
addColourOverrides
public void addColourOverrides(java.util.List<ColourOverride> overrides)
getNextOutlinePaint
public java.awt.Paint getNextOutlinePaint()
- Specified by:
getNextOutlinePaint in interface org.jfree.chart.plot.DrawingSupplier
getNextOutlineStroke
public java.awt.Stroke getNextOutlineStroke()
- Specified by:
getNextOutlineStroke in interface org.jfree.chart.plot.DrawingSupplier
getNextPaint
public java.awt.Paint getNextPaint()
- Specified by:
getNextPaint in interface org.jfree.chart.plot.DrawingSupplier
getNextShape
public java.awt.Shape getNextShape()
- Specified by:
getNextShape in interface org.jfree.chart.plot.DrawingSupplier
getNextStroke
public java.awt.Stroke getNextStroke()
- Specified by:
getNextStroke in interface org.jfree.chart.plot.DrawingSupplier