lt.monarch.chart.chart2D.series
Class QuoteOHLCStrategy
java.lang.Object
lt.monarch.chart.chart2D.series.AbstractQuoteStrategy<ChartProjector>
lt.monarch.chart.chart2D.series.QuoteHLCStrategy<Projector2D>
lt.monarch.chart.chart2D.series.QuoteOHLCStrategy
- All Implemented Interfaces:
- java.io.Serializable
public class QuoteOHLCStrategy
extends QuoteHLCStrategy<Projector2D>
Stock series drawing strategy. This strategy draws series as a sequence of the
Open-High-Low-Close symbols
- See Also:
- Serialized Form
| Fields inherited from class lt.monarch.chart.chart2D.series.AbstractQuoteStrategy |
baseValue, dirty, mapper, metaModel, minMaxValues, model, paintMode, planePoint, projector, style, tempPoint, xMapper, yMapper, zoomMultiplier |
Constructor Summary
QuoteOHLCStrategy()
Stock Open-High-Low-Close strategy constructor |
Method Summary
protected Line2D[] |
createLines(double w,
double x,
double min,
double max,
double open,
double close)
Return primitive shape array of stock |
| Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
QuoteOHLCStrategy
public QuoteOHLCStrategy()
- Stock Open-High-Low-Close strategy constructor
createLines
protected Line2D[] createLines(double w,
double x,
double min,
double max,
double open,
double close)
- Description copied from class:
QuoteHLCStrategy
- Return primitive shape array of stock
- Overrides:
createLines in class QuoteHLCStrategy<Projector2D>
- Parameters:
w - width of open or closex - key data column, which corresponds to X valuemin - extent data column, which corresponds low valuemax - value data column, which corresponds high valueopen - extra data column, which corresponds open valueclose - extra2 data column, which corresponds close value
- Returns:
- stock primitive array of shape Line2D