public class FastErrorBarsRenderableSeries extends HlRenderableSeriesBase
Modifier and Type | Field and Description |
---|---|
protected com.scichart.core.framework.SmartPropertyDouble |
dataPointWidthProperty |
protected com.scichart.core.framework.SmartProperty<ErrorDirection> |
errorDirectionProperty |
protected com.scichart.core.framework.SmartProperty<ErrorMode> |
errorModeProperty |
protected com.scichart.core.framework.SmartProperty<ErrorType> |
errorTypeProperty |
protected com.scichart.core.framework.SmartProperty<com.scichart.drawing.common.PenStyle> |
strokeHighStyleProperty |
protected com.scichart.core.framework.SmartProperty<com.scichart.drawing.common.PenStyle> |
strokeLowStyleProperty |
clipToBoundsProperty, drawNaNAsProperty, invalidateElementCallback, isSelectedProperty, isVisibleProperty, opacityProperty, resamplingModeProperty, strokeStyleProperty, TAG, xAxisIdProperty, yAxisIdProperty, zeroLineYProperty
Modifier | Constructor and Description |
---|---|
|
FastErrorBarsRenderableSeries()
Creates a new instance of
FastErrorBarsRenderableSeries class |
protected |
FastErrorBarsRenderableSeries(ErrorBarsRenderPassData currentRenderPassData,
IHitProvider hitProvider,
INearestPointProvider nearestPointProvider)
Creates a new instance of
FastErrorBarsRenderableSeries class |
Modifier and Type | Method and Description |
---|---|
double |
getDataPointWidth()
Gets a value between 0.0 and 1.0 which defines the fraction of available space each column should occupy
|
ErrorDirection |
getErrorDirection()
Gets the
ErrorDirection value for this series |
ErrorMode |
getErrorMode()
Gets the
ErrorMode value for this series |
ErrorType |
getErrorType()
Gets the
ErrorType value for this series |
com.scichart.drawing.common.PenStyle |
getStrokeHighStyle()
Gets the
PenStyle for high error stroke |
com.scichart.drawing.common.PenStyle |
getStrokeLowStyle()
Gets the
PenStyle for low error stroke |
com.scichart.data.model.IRange |
getXRange()
Returns the data range of the
IRenderableSeries on X direction by querying the associated data series
Individual RenderableSeries implementations may override this method to provide custom ranging on per-series basis |
com.scichart.data.model.IRange |
getYRange(ICoordinateCalculator xCoordCalc,
boolean getPositiveRange)
Returns the data range of the
IRenderableSeries on Y direction by querying the associated data series |
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 |
protected void |
internalUpdate(com.scichart.drawing.common.IAssetManager2D assetManager2D,
RenderPassState renderPassState)
Updates this renderable series instances
|
protected void |
internalUpdateRenderPassData(ISeriesRenderPassData renderPassDataToUpdate,
IDataSeries<?,?> dataSeries,
com.scichart.data.numerics.ResamplingMode resamplingMode,
com.scichart.data.numerics.pointresamplers.IPointResamplerFactory factory)
Updates the current render pass data using the data series, resampling factory passed in
|
void |
setDataPointWidth(double dataPointWidth)
Sets a value between 0.0 and 1.0 which defines the fraction of available space each column should occupy
|
void |
setErrorDirection(ErrorDirection errorDirection)
Sets the
ErrorDirection value for this series |
void |
setErrorMode(ErrorMode errorMode)
Sets the
ErrorMode value for this series |
void |
setErrorType(ErrorType errorType)
Sets the
ErrorType value for this series |
void |
setStrokeHighStyle(com.scichart.drawing.common.PenStyle strokeStyle)
Sets the
PenStyle for high error stroke |
void |
setStrokeLowStyle(com.scichart.drawing.common.PenStyle strokeStyle)
Sets the
PenStyle for low error stroke |
isOfValidType
addIsSelectedChangeListener, addIsVisibleChangeListener, applyThemeProvider, attachTo, decrementSuspend, detach, disposeCachedData, drawPointMarkers, getClipToBounds, getContext, getCurrentRenderPassData, getDataSeries, getDataSeriesLock, getDrawNaNAs, getIsSelected, getIsSuspended, getIsVisible, getOpacity, getPaletteProvider, getParentSurface, getPointMarker, getRenderPassDataLock, getRenderPassDataTransformation, getResamplingMode, getSelectedSeriesStyle, getSeriesColor, getSeriesInfoProvider, getServices, getStrokeStyle, getXAxis, getXAxisId, getYAxis, getYAxisId, 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.PenStyle> strokeLowStyleProperty
protected final com.scichart.core.framework.SmartProperty<com.scichart.drawing.common.PenStyle> strokeHighStyleProperty
protected final com.scichart.core.framework.SmartProperty<ErrorDirection> errorDirectionProperty
protected final com.scichart.core.framework.SmartProperty<ErrorMode> errorModeProperty
protected final com.scichart.core.framework.SmartProperty<ErrorType> errorTypeProperty
protected final com.scichart.core.framework.SmartPropertyDouble dataPointWidthProperty
public FastErrorBarsRenderableSeries()
FastErrorBarsRenderableSeries
classprotected FastErrorBarsRenderableSeries(ErrorBarsRenderPassData currentRenderPassData, IHitProvider hitProvider, INearestPointProvider nearestPointProvider)
FastErrorBarsRenderableSeries
classcurrentRenderPassData
- The render pass data instancehitProvider
- The hit provider instancenearestPointProvider
- The nearest point provider instancepublic final com.scichart.drawing.common.PenStyle getStrokeLowStyle()
PenStyle
for low error strokePenStyle
public final void setStrokeLowStyle(com.scichart.drawing.common.PenStyle strokeStyle)
PenStyle
for low error strokestrokeStyle
- The low error PenStyle
public final com.scichart.drawing.common.PenStyle getStrokeHighStyle()
PenStyle
for high error strokePenStyle
public final void setStrokeHighStyle(com.scichart.drawing.common.PenStyle strokeStyle)
PenStyle
for high error strokestrokeStyle
- The high error PenStyle
public final ErrorDirection getErrorDirection()
ErrorDirection
value for this seriesErrorDirection
valuepublic final void setErrorDirection(ErrorDirection errorDirection)
ErrorDirection
value for this serieserrorDirection
- The ErrorDirection
valuepublic final ErrorMode getErrorMode()
ErrorMode
value for this seriesErrorMode
valuepublic final void setErrorMode(ErrorMode errorMode)
ErrorMode
value for this serieserrorMode
- The ErrorMode
valuepublic final double getDataPointWidth()
public final void setDataPointWidth(double dataPointWidth)
dataPointWidth
- The data point widthpublic final ErrorType getErrorType()
ErrorType
value for this seriesErrorType
valuepublic final void setErrorType(ErrorType errorType)
ErrorType
value for this serieserrorType
- The ErrorType
valueprotected void internalUpdateRenderPassData(ISeriesRenderPassData renderPassDataToUpdate, IDataSeries<?,?> dataSeries, com.scichart.data.numerics.ResamplingMode resamplingMode, com.scichart.data.numerics.pointresamplers.IPointResamplerFactory factory) throws java.lang.Exception
HlRenderableSeriesBase
internalUpdateRenderPassData
in class HlRenderableSeriesBase
renderPassDataToUpdate
- The render pass data to updatedataSeries
- The data series associated with this renderable series instanceresamplingMode
- The resampling mode associated with this renderable series instancefactory
- The IPointResamplerFactory
to usejava.lang.Exception
- If any exception occursprotected void internalUpdate(com.scichart.drawing.common.IAssetManager2D assetManager2D, RenderPassState renderPassState)
internalUpdate
in class BaseRenderableSeries
assetManager2D
- The IAssetManager2D
used for this render passrenderPassState
- The RenderPassState
for this render passprotected 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 pointspublic com.scichart.data.model.IRange getXRange()
IRenderableSeries
on X direction by querying the associated data series
Individual RenderableSeries implementations may override this method to provide custom ranging on per-series basisgetXRange
in interface IRenderableSeries
getXRange
in class BaseRenderableSeries
public com.scichart.data.model.IRange getYRange(ICoordinateCalculator xCoordCalc, boolean getPositiveRange)
IRenderableSeries
on Y direction by querying the associated data seriesgetYRange
in interface IRenderableSeries
getYRange
in class BaseRenderableSeries
xCoordCalc
- The XAxis coordinate calculator currently used.getPositiveRange
- Indicates whether to return positive YRange only