Class FastCandlestickRenderableSeries
Provides Fast Candlestick series rendering, however makes the assumption that all X-Data is evenly spaced. Gaps in the data are collapsed
Inheritance
Inherited Members
Namespace:
Assembly: .dll
Syntax
public class FastCandlestickRenderableSeries extends renderableSeries.OhlcRenderableSeriesBase
Constructors
FastCandlestickRenderableSeries()
Creates a new instance of FastCandlestickRenderableSeries class
Declaration
public FastCandlestickRenderableSeries()
FastCandlestickRenderableSeries(renderableSeriesOhlcRenderPassData currentRenderPassData, renderableSeries.hitTest.IHitProvider hitProvider, renderableSeries.hitTest.INearestPointProvider nearestPointProvider)
Creates a new instance of FastCandlestickRenderableSeries class
Declaration
protected FastCandlestickRenderableSeries(renderableSeriesOhlcRenderPassData currentRenderPassData, renderableSeries.hitTest.IHitProvider hitProvider, renderableSeries.hitTest.INearestPointProvider nearestPointProvider)
Parameters
Type | Name | Description |
---|---|---|
renderableSeriesOhlcRenderPassData | currentRenderPassData | The render pass data instance |
renderableSeries.hitTest.IHitProvider | hitProvider | The hit provider instance |
renderableSeries.hitTest.INearestPointProvider | nearestPointProvider | The nearest point provider instance |
Fields
fillDownBrushStyleProperty
Declaration
protected final SmartProperty<BrushStyle> fillDownBrushStyleProperty
Field Value
Type | Description |
---|---|
SmartProperty<BrushStyle> |
fillUpBrushStyleProperty
Declaration
protected final SmartProperty<BrushStyle> fillUpBrushStyleProperty
Field Value
Type | Description |
---|---|
SmartProperty<BrushStyle> |
Methods
applyThemeProvider(IThemeProvider themeProvider)
Applies specified theme to current instance
Declaration
public void applyThemeProvider(IThemeProvider themeProvider)
Parameters
Type | Name | Description |
---|---|---|
IThemeProvider | themeProvider |
Overrides
getFillDownBrushStyle()
Gets the BrushStyle used candle body on down-candles (close < open).
Declaration
public final BrushStyle getFillDownBrushStyle()
Returns
Type | Description |
---|---|
BrushStyle | The fill down BrushStyle |
getFillUpBrushStyle()
Gets the BrushStyle used candle body on up-candles (close > open)
Declaration
public final BrushStyle getFillUpBrushStyle()
Returns
Type | Description |
---|---|
BrushStyle | The fill up BrushStyle |
internalDraw(IRenderContext2D renderContext, IAssetManager2D assetManager, renderableSeriesISeriesRenderPassData renderPassData)
Draws the series using the IRenderContext2D, the IAssetManager2D and the ISeriesRenderPassData passed in
Declaration
protected void internalDraw(IRenderContext2D renderContext, IAssetManager2D assetManager, renderableSeriesISeriesRenderPassData renderPassData)
Parameters
Type | Name | Description |
---|---|---|
IRenderContext2D | renderContext | |
IAssetManager2D | assetManager | |
renderableSeriesISeriesRenderPassData | renderPassData |
Overrides
setFillDownBrushStyle(BrushStyle fillBrushStyle)
Sets the BrushStyle used candle body on down-candles (close < open).
Declaration
public final void setFillDownBrushStyle(BrushStyle fillBrushStyle)
Parameters
Type | Name | Description |
---|---|---|
BrushStyle | fillBrushStyle | The fill down BrushStyle |
setFillUpBrushStyle(BrushStyle fillBrushStyle)
Sets the BrushStyle used candle body on up-candles (close > open)
Declaration
public final void setFillUpBrushStyle(BrushStyle fillBrushStyle)
Parameters
Type | Name | Description |
---|---|---|
BrushStyle | fillBrushStyle | The fill up BrushStyle |