public class FastCandlestickRenderableSeries extends OhlcRenderableSeriesBase
Modifier and Type | Field and Description |
---|---|
protected com.scichart.core.framework.SmartProperty<com.scichart.drawing.common.BrushStyle> |
fillDownBrushStyleProperty |
protected com.scichart.core.framework.SmartProperty<com.scichart.drawing.common.BrushStyle> |
fillUpBrushStyleProperty |
dataPointWidthProperty, strokeDownStyleProperty, strokeUpStyleProperty
clipToBoundsProperty, drawNaNAsProperty, invalidateElementCallback, isSelectedProperty, isVisibleProperty, opacityProperty, resamplingModeProperty, strokeStyleProperty, TAG, xAxisIdProperty, yAxisIdProperty, zeroLineYProperty
Modifier | Constructor and Description |
---|---|
|
FastCandlestickRenderableSeries()
Creates a new instance of
FastCandlestickRenderableSeries class |
protected |
FastCandlestickRenderableSeries(OhlcRenderPassData currentRenderPassData,
IHitProvider hitProvider,
INearestPointProvider nearestPointProvider)
Creates a new instance of
FastCandlestickRenderableSeries class |
Modifier and Type | Method and Description |
---|---|
void |
applyThemeProvider(IThemeProvider themeProvider)
Applies specified theme to current instance
|
com.scichart.drawing.common.BrushStyle |
getFillDownBrushStyle()
Gets the
BrushStyle used candle body on down-candles (close < open). |
com.scichart.drawing.common.BrushStyle |
getFillUpBrushStyle()
Gets the
BrushStyle used candle body on up-candles (close > open) |
protected void |
internalDraw(com.scichart.drawing.common.IRenderContext2D renderContext,
com.scichart.drawing.common.IAssetManager2D assetManager,
ISeriesRenderPassData renderPassData)
Draws the series using the
IRenderContext2D , the IAssetManager2D and the ISeriesRenderPassData passed in |
void |
setFillDownBrushStyle(com.scichart.drawing.common.BrushStyle fillBrushStyle)
Sets the
BrushStyle used candle body on down-candles (close < open). |
void |
setFillUpBrushStyle(com.scichart.drawing.common.BrushStyle fillBrushStyle)
Sets the
BrushStyle used candle body on up-candles (close > open) |
disposeCachedData, drawAsLines, getDataPointWidth, getSeriesColor, getStrokeDownStyle, getStrokeUpStyle, getXRange, internalUpdate, internalUpdateRenderPassData, isOfValidType, setDataPointWidth, setStrokeDownStyle, setStrokeUpStyle
addIsSelectedChangeListener, addIsVisibleChangeListener, attachTo, decrementSuspend, detach, drawPointMarkers, getClipToBounds, getContext, getCurrentRenderPassData, getDataSeries, getDataSeriesLock, getDrawNaNAs, getIsSelected, getIsSuspended, getIsVisible, getOpacity, getPaletteProvider, getParentSurface, getPointMarker, getRenderPassDataLock, getRenderPassDataTransformation, getResamplingMode, getSelectedSeriesStyle, getSeriesInfoProvider, getServices, getStrokeStyle, getXAxis, getXAxisId, getYAxis, getYAxisId, getYRange, getYZeroCoord, getZeroLineY, hasDataSeries, hitTest, hitTest, invalidateElement, isAttached, isUpdateOfRenderPassDataRequired, isValidForDrawing, isValidForUpdate, onDraw, onRenderSurfaceChanged, removeIsSelectedChangeListener, removeIsVisibleChangeListener, resumeUpdates, setClipRect, setClipToBounds, setDataSeries, setDrawNaNAs, setIsSelected, setIsVisible, setOpacity, setPaletteProvider, setPointMarker, setRenderPassDataTransformation, setResamplingMode, setSelectedSeriesStyle, setSeriesInfoProvider, setStrokeStyle, setXAxisId, setYAxisId, setZeroLineY, suspendUpdates, update, updateRenderPassData, verticalSliceHitTest
protected final com.scichart.core.framework.SmartProperty<com.scichart.drawing.common.BrushStyle> fillUpBrushStyleProperty
protected final com.scichart.core.framework.SmartProperty<com.scichart.drawing.common.BrushStyle> fillDownBrushStyleProperty
public FastCandlestickRenderableSeries()
FastCandlestickRenderableSeries
classprotected FastCandlestickRenderableSeries(OhlcRenderPassData currentRenderPassData, IHitProvider hitProvider, INearestPointProvider nearestPointProvider)
FastCandlestickRenderableSeries
classcurrentRenderPassData
- The render pass data instancehitProvider
- The hit provider instancenearestPointProvider
- The nearest point provider instancepublic final com.scichart.drawing.common.BrushStyle getFillUpBrushStyle()
BrushStyle
used candle body on up-candles (close > open)BrushStyle
public final void setFillUpBrushStyle(com.scichart.drawing.common.BrushStyle fillBrushStyle)
BrushStyle
used candle body on up-candles (close > open)fillBrushStyle
- The fill up BrushStyle
public final com.scichart.drawing.common.BrushStyle getFillDownBrushStyle()
BrushStyle
used candle body on down-candles (close < open).BrushStyle
public final void setFillDownBrushStyle(com.scichart.drawing.common.BrushStyle fillBrushStyle)
BrushStyle
used candle body on down-candles (close < open).fillBrushStyle
- The fill down BrushStyle
public void applyThemeProvider(IThemeProvider themeProvider)
applyThemeProvider
in interface IThemeable
applyThemeProvider
in class OhlcRenderableSeriesBase
themeProvider
- The IThemeProvider
instance which provides new theme for current instanceprotected void internalDraw(com.scichart.drawing.common.IRenderContext2D renderContext, com.scichart.drawing.common.IAssetManager2D assetManager, ISeriesRenderPassData renderPassData)
IRenderContext2D
, the IAssetManager2D
and the ISeriesRenderPassData
passed ininternalDraw
in class BaseRenderableSeries
renderContext
- The render context. This is a graphics object which has methods to draw lines, quads and polygons to the screenassetManager
- The asset manager. This is manager for graphic assets which has method for creation pens, brushes and texturesrenderPassData
- The render pass data which contain a resampled point series, the index range of point on the screen
and the current coordinate calculator of XAxis and YAxis to convert data-point to screen points