public class FastFixedErrorBarsRenderableSeries extends XyRenderableSeriesBase
BaseRenderableSeries.InvalidateRenderPassDataCallback
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<java.lang.Double> |
errorHighProperty |
protected com.scichart.core.framework.SmartProperty<java.lang.Double> |
errorLowProperty |
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, invalidateRenderPassDataCallback, resamplingModeProperty, strokeStyleProperty, TAG, xAxisIdProperty, yAxisIdProperty, zeroLineYProperty
invalidateElementCallback, isSelectedProperty, isVisibleProperty, opacityProperty, services
Modifier | Constructor and Description |
---|---|
|
FastFixedErrorBarsRenderableSeries()
Creates a new instance of
FastFixedErrorBarsRenderableSeries class |
protected |
FastFixedErrorBarsRenderableSeries(ErrorBarsRenderPassData currentRenderPassData,
IHitProvider hitProvider,
INearestPointProvider nearestPointProvider)
Creates a new instance of
FastFixedErrorBarsRenderableSeries 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 |
double |
getErrorHigh()
Gets the error high value for this series
|
double |
getErrorLow()
Gets the error low 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 assetManager,
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
|
protected void |
onStrokeStyleChanged(com.scichart.drawing.common.PenStyle oldStrokeStyle,
com.scichart.drawing.common.PenStyle newStrokeStyle)
Called when
BaseRenderableSeries.getStrokeStyle() property changes |
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 |
setErrorHigh(double errorHigh)
Sets the error high value for this series
|
void |
setErrorLow(double errorLow)
Sets the error low 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
applyThemeProvider, attachTo, detach, disposeCachedData, drawPointMarkers, getClipToBounds, getContext, getCurrentRenderPassData, getDataSeries, getDataSeriesLock, getDrawNaNAs, getPaletteProvider, getParentSurface, getPointMarker, getRenderPassDataLock, getRenderPassDataTransformation, getResamplingMode, getSeriesColor, getSeriesInfoProvider, getStrokeStyle, getXAxis, getXAxisId, getYAxis, getYAxisId, getYZeroCoord, getZeroLineY, hasDataSeries, hitTest, hitTest, invalidateElement, invalidateRenderPassData, isUpdateOfRenderPassDataRequired, isValidForDrawing, isValidForUpdate, onDataSeriesChanged, onDraw, onRenderSurfaceChanged, setClipRect, setClipToBounds, setDataSeries, setDrawNaNAs, setPaletteProvider, setPointMarker, setRenderPassDataTransformation, setResamplingMode, setSeriesInfoProvider, setStrokeStyle, setXAxisId, setYAxisId, setZeroLineY, update, updateRenderPassData, verticalSliceHitTest
addIsSelectedChangeListener, addIsVisibleChangeListener, decrementSuspend, getIsSelected, getIsSuspended, getIsVisible, getOpacity, getSelectedSeriesStyle, getServices, getUpdateSuspenderCount, isAttached, removeIsSelectedChangeListener, removeIsVisibleChangeListener, resumeUpdates, setIsSelected, setIsVisible, setOpacity, setSelectedSeriesStyle, suspendUpdates
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addIsSelectedChangeListener, addIsVisibleChangeListener, getIsSelected, getIsVisible, getOpacity, getSelectedSeriesStyle, removeIsSelectedChangeListener, removeIsVisibleChangeListener, setIsSelected, setIsVisible, setOpacity, setSelectedSeriesStyle
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.SmartPropertyDouble dataPointWidthProperty
protected final com.scichart.core.framework.SmartProperty<ErrorType> errorTypeProperty
protected final com.scichart.core.framework.SmartProperty<java.lang.Double> errorHighProperty
protected final com.scichart.core.framework.SmartProperty<java.lang.Double> errorLowProperty
public FastFixedErrorBarsRenderableSeries()
FastFixedErrorBarsRenderableSeries
classprotected FastFixedErrorBarsRenderableSeries(ErrorBarsRenderPassData currentRenderPassData, IHitProvider hitProvider, INearestPointProvider nearestPointProvider)
FastFixedErrorBarsRenderableSeries
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
valuepublic final double getErrorLow()
public final void setErrorLow(double errorLow)
errorLow
- The error low valuepublic final double getErrorHigh()
public final void setErrorHigh(double errorHigh)
errorHigh
- The error high valueprotected void onStrokeStyleChanged(com.scichart.drawing.common.PenStyle oldStrokeStyle, com.scichart.drawing.common.PenStyle newStrokeStyle)
BaseRenderableSeries.getStrokeStyle()
property changesonStrokeStyleChanged
in class BaseRenderableSeries
oldStrokeStyle
- The old stroke stylenewStrokeStyle
- The new stroke styleprotected void internalUpdateRenderPassData(ISeriesRenderPassData renderPassDataToUpdate, IDataSeries<?,?> dataSeries, com.scichart.data.numerics.ResamplingMode resamplingMode, com.scichart.data.numerics.pointresamplers.IPointResamplerFactory factory) throws java.lang.Exception
XyRenderableSeriesBase
internalUpdateRenderPassData
in class XyRenderableSeriesBase
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 assetManager, RenderPassState renderPassState)
BaseRenderableSeries
internalUpdate
in class BaseRenderableSeries
assetManager
- 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