lt.monarch.chart.chart3D.series
Class SteppedLine3DStrategy

java.lang.Object
  extended by lt.monarch.chart.chart3D.series.AbstractLine3DStrategy
      extended by lt.monarch.chart.chart3D.series.Line3DStrategy
          extended by lt.monarch.chart.chart3D.series.SteppedLine3DStrategy
All Implemented Interfaces:
java.io.Serializable

public class SteppedLine3DStrategy
extends Line3DStrategy

Stepped line series strategy.

See Also:
Serialized Form

Field Summary
Modifier and Type Field and Description
 
Fields inherited from class lt.monarch.chart.chart3D.series.Line3DStrategy
bottomPolygon, firstX, isSortedSeries, lastX, lineWidth, polygon, pseudoModel
 
Fields inherited from class lt.monarch.chart.chart3D.series.AbstractLine3DStrategy
baseValue, dirty, isConnected, mapper, metaModel, minMaxValues, model, paintMode, planePoint, projector, showNullValues, style, tempPoint, xMapper, yMapper, zMapper, zoomMultiplier
 
Constructor Summary
Constructor and Description
SteppedLine3DStrategy()
          Stepped strategy constructor
 
Method Summary
Modifier and Type Method and Description
protected  int buildSeriesPolygons(Polygon3D[] linePolygon, double[] firstX, double[] lastX, Polygon3D[] bottomPolygon, boolean drawNulls)
          Builds polygons that are used to render series line and toFill it's area if toFill color is set.
 
Methods inherited from class lt.monarch.chart.chart3D.series.Line3DStrategy
appendSeriesRectangles, dispose, draw, drawLine, formNewPolygon, getDataValueMappingHeight, getLineWidth, getPointPosition, initDrawing, isDataInverted, isStacked, projectPolygon, setLineWidth, showNullPoints
 
Methods inherited from class lt.monarch.chart.chart3D.series.AbstractLine3DStrategy
finalize, getMinMaxValues, getX, getY, getZ, projectPoint
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SteppedLine3DStrategy

public SteppedLine3DStrategy()
Stepped strategy constructor

Method Detail

buildSeriesPolygons

protected int buildSeriesPolygons(Polygon3D[] linePolygon,
                                  double[] firstX,
                                  double[] lastX,
                                  Polygon3D[] bottomPolygon,
                                  boolean drawNulls)
Builds polygons that are used to render series line and toFill it's area if toFill color is set.

Overrides:
buildSeriesPolygons in class Line3DStrategy
Parameters:
linePolygon - array of polygons that forms series polyline
firstX - array of series segments start positions [0;1]
lastX - array of series segments end positions [0;1]
bottomPolygon - array of polygons that forms bottom polyline of series area
drawNulls - declares when to calculate values and build polygons for null values in data model.
Returns:
number of polygons that forms series line