|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectlt.monarch.chart.engine.AbstractChartObject<Tags>
lt.monarch.chart.AbstractChartSeries<Tags,ChartProjector>
lt.monarch.chart.chart3D.series.MarkerDecorableSeries3D<SeriesPaintTags,Projector3D>
lt.monarch.chart.chart3D.series.Line3DSeries
public class Line3DSeries extends MarkerDecorableSeries3D<SeriesPaintTags,Projector3D>
Line series 3D. This series renders line, scatter and spline (a.k.a. ribbon) series in 3D space.
| Modifier and Type | Field and Description |
|---|---|
protected static java.util.Hashtable<AxisMapper,java.lang.Float> |
lineSpacings
Hashtable that maps axis mapper to bar spacing |
protected PlaneMapper3D |
mapper
the plane mapper |
protected static java.util.Hashtable<AxisMapper,java.lang.Float> |
seriesSpacings
Hashtable that maps axis mapper to bar spacing |
| Fields inherited from class lt.monarch.chart.chart3D.series.MarkerDecorableSeries3D |
|---|
baseValue, colorMapper, markerPainter, markers, model, pseudoModel |
| Fields inherited from class lt.monarch.chart.AbstractChartSeries |
|---|
metaModel, modelValidator, seriesName, seriesTransform, showLegend, showNullValues, symbol, xMapper, yMapper, zMapper |
| Fields inherited from class lt.monarch.chart.engine.AbstractChartObject |
|---|
AXIS_SORT_POSITION, BREAK_LINE_POSITION, DEFAULT_SORT_POSITION, GRID_SORT_POSITION, MARKER_SERIES_SORT_POSITION, MARKERS_SORT_POSITION, paintStyle, SERIES_SORT_POSITION, sortPosition, style |
| Constructor and Description |
|---|
Line3DSeries(ArrayDataModel model,
AxisMapper xMapper,
AxisMapper yMapper,
AxisMapper zMapper)
Line series constructor without a meta data model and default plane mapper is for Cartesian coordinates. |
Line3DSeries(ArrayDataModel model,
MetaDataModel metaModel,
AxisMapper xMapper,
AxisMapper yMapper,
AxisMapper zMapper)
Constructs a new Line series. |
Line3DSeries(ArrayDataModel model,
MetaDataModel metaModel,
PlaneMapper3D mapper,
AxisMapper xMapper,
AxisMapper yMapper,
AxisMapper zMapper)
Constructs a new line series |
Line3DSeries(ArrayDataModel model,
PlaneMapper3D mapper,
AxisMapper xMapper,
AxisMapper yMapper,
AxisMapper zMapper)
Line series constructor without a meta data model |
| Modifier and Type | Method and Description |
|---|---|
void |
draw(AbstractGraphics g)
Renders chart object on the Graphics context. |
static float |
getLineSpacing(AxisMapper mapper)
Returns line spacings. |
MarkerConstraints[] |
getMarkerConstraints()
Returns series marker constraints. |
java.lang.Object |
getMaxValue(DataColumnType valType)
Note: internal use only! Gets maximum value that is used by series to fit into the chart |
java.lang.Object |
getMinValue(DataColumnType valType)
Note: internal use only! Gets minimum value that is used by series to fit into the chart |
static float |
getSeriesSpacing(AxisMapper mapper)
Returns spacing between different line series. |
AbstractLine3DStrategy |
getStrategy()
Gets line drawing strategy. |
protected void |
initLegendSymbol()
Initializes a new Line3DSeries legend symbol used for representing line series
in legend. |
static void |
removeLineSpacing(AxisMapper mapper)
Removes line spacing from the hashtable according to the specified axis mapper |
static void |
removeSeriesSpacing(AxisMapper mapper)
Removes series spacing from the hashtable according to the specified axis mapper |
static void |
setLineSpacing(AxisMapper mapper,
float space)
Sets the space the line width occupies. |
static void |
setSeriesSpacing(AxisMapper mapper,
float space)
Sets spacing between different line series. |
void |
setStrategy(Line3DStrategies strategy)
Sets line drawing strategy. |
| Methods inherited from class lt.monarch.chart.chart3D.series.MarkerDecorableSeries3D |
|---|
addMarker, addMarker, addMarker, drawMarkers, drawMarkers, getBaseValue, getColorMapper, getKeyType, getPaintMode, getSortPosition, setBaseValue, setColorMapper, setPaintMode |
| Methods inherited from class lt.monarch.chart.engine.AbstractChartObject |
|---|
chart, copy, dispose, finalize, getChart, getPaintStyle, getParent, getStyle, getStyle, invalidate, isVisible, layout, repaint, repaint, setChart, setVisible |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface lt.monarch.chart.engine.ChartObject |
|---|
dispose, getChart, getStyle, getStyle, invalidate, isVisible, layout, repaint, repaint, setChart |
| Methods inherited from interface lt.monarch.chart.engine.StyleEditorEntity |
|---|
getParent, getStyle |
| Field Detail |
|---|
protected static final java.util.Hashtable<AxisMapper,java.lang.Float> lineSpacings
protected static final java.util.Hashtable<AxisMapper,java.lang.Float> seriesSpacings
protected PlaneMapper3D mapper
| Constructor Detail |
|---|
public Line3DSeries(ArrayDataModel model,
MetaDataModel metaModel,
PlaneMapper3D mapper,
AxisMapper xMapper,
AxisMapper yMapper,
AxisMapper zMapper)
model - chart data modelmetaModel - meta data modelmapper - mapper, used to map output to a plane in a n-dimensional spacexMapper - x axis mapperyMapper - y axis mapperzMapper - z axis mapper
public Line3DSeries(ArrayDataModel model,
PlaneMapper3D mapper,
AxisMapper xMapper,
AxisMapper yMapper,
AxisMapper zMapper)
model - chart data modelmapper - mapper, used to map output to a plane in a n-dimensional spacexMapper - x axis mapperyMapper - y axis mapperzMapper - z axis mapper
public Line3DSeries(ArrayDataModel model,
AxisMapper xMapper,
AxisMapper yMapper,
AxisMapper zMapper)
model - chart data modelxMapper - x axis mapperyMapper - y axis mapperzMapper - z axis mapper
public Line3DSeries(ArrayDataModel model,
MetaDataModel metaModel,
AxisMapper xMapper,
AxisMapper yMapper,
AxisMapper zMapper)
model - chart data modelmetaModel - meta data modelxMapper - x axis mapperyMapper - y axis mapperzMapper - z axis mapper| Method Detail |
|---|
public void draw(AbstractGraphics g)
ChartObject
draw in interface ChartObjectdraw in class MarkerDecorableSeries3D<SeriesPaintTags,Projector3D>g - graphics contextprotected void initLegendSymbol()
Line3DSeries legend symbol used for representing line series
in legend.
public static void setLineSpacing(AxisMapper mapper,
float space)
mapper - axis mapper for which bar spacing is specified.space - space for line series widthpublic static float getLineSpacing(AxisMapper mapper)
mapper - axis mapper for which line width spacing is specified.public static float getSeriesSpacing(AxisMapper mapper)
mapper - Axis mapper for which line spacing is returned.
public static void setSeriesSpacing(AxisMapper mapper,
float space)
mapper - axis mapper for which line spacing is specified.space - space between different line series relative to line default width. Must be in interval
[0.0 .. 1.0].public static void removeLineSpacing(AxisMapper mapper)
mapper - axis mapper, that specifies the line spacingpublic static void removeSeriesSpacing(AxisMapper mapper)
mapper - axis mapper, that specifies the series spacingpublic MarkerConstraints[] getMarkerConstraints()
MarkerDecorableSeries3D
getMarkerConstraints in class MarkerDecorableSeries3D<SeriesPaintTags,Projector3D>public void setStrategy(Line3DStrategies strategy)
strategy - drawing strategypublic AbstractLine3DStrategy getStrategy()
public java.lang.Object getMaxValue(DataColumnType valType)
AbstractChartSeries
getMaxValue in class AbstractChartSeries<SeriesPaintTags,Projector3D>valType - data value columnpublic java.lang.Object getMinValue(DataColumnType valType)
AbstractChartSeries
getMinValue in class AbstractChartSeries<SeriesPaintTags,Projector3D>valType - data value column
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||