|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectlt.monarch.chart.chart3D.series.AbstractLine3DStrategy
lt.monarch.chart.chart3D.series.Line3DStrategy
lt.monarch.chart.chart3D.series.Spline3DStrategy
public class Spline3DStrategy extends Line3DStrategy
In this strategy all null point values are skipped and cannot be displayed in any way.
| Modifier and Type | Field and Description |
|---|---|
protected int |
step
Step line number between two data points |
| 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 and Description |
|---|
Spline3DStrategy()
Default spline strategy constructor |
| Modifier and Type | Method and Description |
|---|---|
protected Polygon3D |
calculateSpline(Polygon3D polygon)
Creates spline polygon (from simple polygon) |
protected Point3D[] |
calculateSplinePoints(double[] x,
double[] y,
double[] z,
int pointCount)
Calculate spline points. |
protected void |
drawAndFill(AbstractGraphics g,
Polygon3D contour,
Polygon3D bottom,
boolean drawNulls,
Line3DSeries series,
ChartObjectsMap map,
HotSpotMap hotMap,
int index)
Draws 3D line |
protected void |
drawLine(AbstractGraphics g,
Line3DSeries series,
HotSpotMap hotMap)
Paints the connected series line in the specified Graphics context. |
int |
getStep()
Gets spline step number |
void |
setStep(int step)
Sets the spline step number, i.e. |
protected boolean |
showNullPoints()
Checks and returns if user has set nullLineColor or nullFillColor objects. |
| Methods inherited from class lt.monarch.chart.chart3D.series.Line3DStrategy |
|---|
appendSeriesRectangles, buildSeriesPolygons, dispose, draw, formNewPolygon, getDataValueMappingHeight, getLineWidth, getPointPosition, initDrawing, isDataInverted, isStacked, projectPolygon, setLineWidth |
| 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 |
| Field Detail |
|---|
protected int step
| Constructor Detail |
|---|
public Spline3DStrategy()
| Method Detail |
|---|
protected void drawLine(AbstractGraphics g,
Line3DSeries series,
HotSpotMap hotMap)
Line3DStrategy
drawLine in class Line3DStrategyg - the Graphics context in which to paint the series line. NOTE:
setShowNullValues(boolean) works a little different here. When set to true, the
line is broken and started from the next non-null point value. When set to false,
the null values are simply ignored: the line connects all non-null value points.series - lt.monarch.chart.chart3D.series.Line3DSerieshotMap - lt.monarch.chart.engine.HotSpotMapAbstractChartSeries.setShowNullValues(boolean)protected Polygon3D calculateSpline(Polygon3D polygon)
polygon -
protected void drawAndFill(AbstractGraphics g,
Polygon3D contour,
Polygon3D bottom,
boolean drawNulls,
Line3DSeries series,
ChartObjectsMap map,
HotSpotMap hotMap,
int index)
g - contour - - lines topbottom - - lines bottomdrawNulls - - if true - use SeriesPaintTags.NULL; if false - SeriesPaintTags.DEFAULTseries - lt.monarch.chart.chart3D.series.Line3DSeriesmap - lt.monarch.chart.engine.ChartObjectsMaphotMap - lt.monarch.chart.engine.HotSpotMapindex - int
protected Point3D[] calculateSplinePoints(double[] x,
double[] y,
double[] z,
int pointCount)
x - y - z - pointCount - public int getStep()
public void setStep(int step)
step - line number between two data pointsprotected boolean showNullPoints()
Line3DStrategy
showNullPoints in class Line3DStrategy
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||