Package org.eclipse.birt.chart.render
Class CurveRenderer
- java.lang.Object
-
- org.eclipse.birt.chart.render.CurveRenderer
-
public final class CurveRenderer extends java.lang.Object
CurveRenderer
-
-
Constructor Summary
Constructors Constructor Description CurveRenderer(ChartWithAxes _cwa, BaseRenderer _render, LineAttributes _lia, Location[] _lo, boolean _bShowAsTape, double _tapeWidth, boolean _bDeferred, boolean _bKeepState, Fill paletteEntry, boolean usePaletteLineColor, boolean connectMissingValue)
The constructor.CurveRenderer(ChartWithAxes _cwa, BaseRenderer _render, LineAttributes _lia, Location[] _lo, double _zeroLocation, boolean _bShowAsTape, double _tapeWidth, boolean _bFillArea, boolean _bTranslucent, boolean _bUseLastState, boolean _bDeferred, boolean _bKeepState, Fill paletteEntry, boolean usePaletteLineColor, boolean connectMissingValue)
The constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
draw(IPrimitiveRenderer ipr)
static java.util.List<double[]>
generateCurvePoints(BaseRenderer _render, Location[] loPoints, boolean connectMissingValue, double fXOffset, double fYOffset)
Generates the points of curve line.
-
-
-
Constructor Detail
-
CurveRenderer
public CurveRenderer(ChartWithAxes _cwa, BaseRenderer _render, LineAttributes _lia, Location[] _lo, boolean _bShowAsTape, double _tapeWidth, boolean _bDeferred, boolean _bKeepState, Fill paletteEntry, boolean usePaletteLineColor, boolean connectMissingValue)
The constructor.- Parameters:
_render
-_lia
-_faX
-_faY
-
-
CurveRenderer
public CurveRenderer(ChartWithAxes _cwa, BaseRenderer _render, LineAttributes _lia, Location[] _lo, double _zeroLocation, boolean _bShowAsTape, double _tapeWidth, boolean _bFillArea, boolean _bTranslucent, boolean _bUseLastState, boolean _bDeferred, boolean _bKeepState, Fill paletteEntry, boolean usePaletteLineColor, boolean connectMissingValue)
The constructor.- Parameters:
_cwa
-_render
-_lia
-_faX
-_faY
-_bShowAsTape
-
-
-
Method Detail
-
draw
public void draw(IPrimitiveRenderer ipr) throws ChartException
- Parameters:
ipr
-- Throws:
ChartException
-
generateCurvePoints
public static java.util.List<double[]> generateCurvePoints(BaseRenderer _render, Location[] loPoints, boolean connectMissingValue, double fXOffset, double fYOffset)
Generates the points of curve line.- Parameters:
loPoints
-connectMissingValue
-fXOffset
-fYOffset
-- Returns:
- points list in the form of double array
-
-