|
|||||||||
| 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.chart2D.series.MarkerDecorableSeries<StockSeriesPaintTags,Projector2D>
lt.monarch.chart.chart2D.series.StockSeries
public class StockSeries extends MarkerDecorableSeries<StockSeriesPaintTags,Projector2D>
Displays stock chart series. Series can be High-Low, High-Low-Close, Open-High-Low-Close and CandleStick.


| Modifier and Type | Class and Description |
|---|
| Nested classes/interfaces inherited from class lt.monarch.chart.chart2D.series.MarkerDecorableSeries |
|---|
MarkerDecorableSeries.MarkerEntity |
| Modifier and Type | Field and Description |
|---|---|
protected PlaneMapper |
mapper
the plane mapper |
| Fields inherited from class lt.monarch.chart.chart2D.series.MarkerDecorableSeries |
|---|
baseValue, colorMapper, markerPainter, markers, minMaxValues, 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 |
|---|
StockSeries(ArrayDataModel model,
AxisMapper xMapper,
AxisMapper yMapper)
Line series constructor without a meta data model and default plane mapper is for Cartesian coordinates. |
StockSeries(ArrayDataModel model,
MetaDataModel metaModel,
AxisMapper xMapper,
AxisMapper yMapper)
Constructs a new Line series. |
StockSeries(ArrayDataModel model,
PlaneMapper mapper,
AxisMapper xMapper,
AxisMapper yMapper)
Line series constructor without a meta data model |
StockSeries(DataModel model,
MetaDataModel metaModel,
PlaneMapper mapper,
AxisMapper xMapper,
AxisMapper yMapper)
Constructs a new line series |
| Modifier and Type | Method and Description |
|---|---|
LegendEntry[] |
createLegendEntries()
Creates legend entries for the series. |
void |
draw(AbstractGraphics g)
Renders chart object on the Graphics context. |
java.util.ArrayList<java.util.ArrayList<MarkerConstraints>> |
getMarkerConstraints()
|
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 |
boolean |
getShowNullValues()
Returns true if this component shows (accounts for) null values. |
AbstractQuoteStrategy<Projector2D> |
getStrategy()
Gets line drawing strategy. |
protected void |
initLegendSymbol()
Initializes a new LineSeries legend symbol used for representing line series in
legend. |
void |
setNames(java.lang.String StockRiseName,
java.lang.String StockDownName)
Sets chart series of stock rise and down names. |
void |
setStrategy(StockStrategies strategy)
Sets line drawing strategy. |
| Methods inherited from class lt.monarch.chart.chart2D.series.MarkerDecorableSeries |
|---|
addMarker, addMarker, addMarker, calculateNullValue, copy, dataConstraintExtraction, drawMarkers, drawMarkers, generateConstaint, getBaseValue, getColorMapper, getKeyType, getMarkers, getMarkerStyle, getPaintMode, getPointForConstraint, getSortPosition, layout, mapMinMaxValue, removeMarker, setBaseValue, setColorMapper, setPaintMode |
| Methods inherited from class lt.monarch.chart.engine.AbstractChartObject |
|---|
chart, copy, dispose, finalize, getChart, getPaintStyle, getParent, getStyle, getStyle, invalidate, isVisible, 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, repaint, repaint, setChart |
| Methods inherited from interface lt.monarch.chart.engine.StyleEditorEntity |
|---|
getParent, getStyle |
| Field Detail |
|---|
protected PlaneMapper mapper
| Constructor Detail |
|---|
public StockSeries(DataModel model,
MetaDataModel metaModel,
PlaneMapper mapper,
AxisMapper xMapper,
AxisMapper yMapper)
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 mapper
public StockSeries(ArrayDataModel model,
PlaneMapper mapper,
AxisMapper xMapper,
AxisMapper yMapper)
model - chart data modelmapper - mapper, used to map output to a plane in a n-dimensional spacexMapper - x axis mapperyMapper - y axis mapper
public StockSeries(ArrayDataModel model,
AxisMapper xMapper,
AxisMapper yMapper)
model - chart data modelxMapper - x axis mapperyMapper - y axis mapper
public StockSeries(ArrayDataModel model,
MetaDataModel metaModel,
AxisMapper xMapper,
AxisMapper yMapper)
model - chart data modelmetaModel - meta data modelxMapper - x axis mapperyMapper - y axis mapper| Method Detail |
|---|
protected void initLegendSymbol()
LineSeries legend symbol used for representing line series in
legend.
public void draw(AbstractGraphics g)
ChartObject
draw in interface ChartObjectdraw in class MarkerDecorableSeries<StockSeriesPaintTags,Projector2D>g - graphics contextpublic java.util.ArrayList<java.util.ArrayList<MarkerConstraints>> getMarkerConstraints()
getMarkerConstraints in class MarkerDecorableSeries<StockSeriesPaintTags,Projector2D>public void setStrategy(StockStrategies strategy)
strategy - drawing strategypublic AbstractQuoteStrategy<Projector2D> getStrategy()
public boolean getShowNullValues()
AbstractChartSeries
getShowNullValues in class AbstractChartSeries<StockSeriesPaintTags,Projector2D>public java.lang.Object getMaxValue(DataColumnType valType)
AbstractChartSeries
getMaxValue in class MarkerDecorableSeries<StockSeriesPaintTags,Projector2D>valType - data value columnpublic java.lang.Object getMinValue(DataColumnType valType)
AbstractChartSeries
getMinValue in class MarkerDecorableSeries<StockSeriesPaintTags,Projector2D>valType - data value columnpublic LegendEntry[] createLegendEntries()
AbstractChartSeries
createLegendEntries in interface ChartSeriescreateLegendEntries in class AbstractChartSeries<StockSeriesPaintTags,Projector2D>
public void setNames(java.lang.String StockRiseName,
java.lang.String StockDownName)
StockRiseName - chart series of stock rise nameStockDownName - chart series of stock down name
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||