public interface IRenderableSeries extends IRenderableSeriesBase, com.scichart.drawing.common.IDrawable, com.scichart.core.framework.IContextProvider, IUpdatable, IThemeable, com.scichart.core.framework.IAttachable, IRenderSurfaceChangedListener, com.scichart.core.framework.ISuspendable
Modifier and Type | Method and Description |
---|---|
void |
addIsSelectedChangeListener(RenderableSeriesChangeListener listener)
Add the listener which should be invoked if this series becomes selected/unselected
|
void |
addIsVisibleChangeListener(RenderableSeriesChangeListener listener)
Add the listener which should be invoked if this series becomes visible/invisible
|
ISeriesRenderPassData |
getCurrentRenderPassData()
Returns the current
ISeriesRenderPassData instance which is used for render pass |
IDataSeries |
getDataSeries()
Gets the
IDataSeries associated with this series |
IReadWriteLock |
getDataSeriesLock()
Gets the
IReadWriteLock instance to lock data series |
float |
getOpacity()
Gets the opacity factor applied to
IRenderableSeries the when it is rendered on SciChartSurface . |
IPaletteProvider |
getPaletteProvider()
Gets the
IPaletteProvider instance associated with this series |
IPointMarker |
getPointMarker()
Gets the
IPointMarker for this renderable series |
IReadWriteLock |
getRenderPassDataLock()
Gets the
IReadWriteLock instance to lock render pass data |
IRenderPassDataTransformation |
getRenderPassDataTransformation()
Get's the
IRenderPassDataTransformation instance associated with this series. |
com.scichart.data.numerics.ResamplingMode |
getResamplingMode()
Gets the
ResamplingMode used when drawing this series |
ISeriesStyle |
getSelectedSeriesStyle()
Gets the
ISeriesStyle which is applied when series is selected |
int |
getSeriesColor()
Gets the color which represents this
IRenderableSeries instance. |
ISeriesInfoProvider |
getSeriesInfoProvider()
Gets the
ISeriesInfoProvider instance associated with this series. |
com.scichart.drawing.common.PenStyle |
getStrokeStyle()
Gets the stroke style for this renderable series
|
IAxis |
getXAxis()
Gets the XAxis that this
IRenderableSeries is associated with |
java.lang.String |
getXAxisId()
Gets the id of XAxis that this
IRenderableSeries is associated with |
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 |
IAxis |
getYAxis()
Gets the YAxis that this
IRenderableSeries is associated with |
java.lang.String |
getYAxisId()
Gets the id of YAxis that this
IRenderableSeries is associated with |
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 |
boolean |
hasDataSeries()
Gets whether this renderable series has data series to draw
|
void |
hitTest(HitTestInfo hitTestResult,
float x,
float y)
Performs a hit-test at the specific point (x,y coordinate on the parent
IRenderableSeriesArea |
void |
hitTest(HitTestInfo hitTestResult,
float x,
float y,
float hitTestRadius)
Performs a hit-test at the specific point (x,y coordinate on the parent
IRenderableSeriesArea |
void |
removeIsSelectedChangeListener(RenderableSeriesChangeListener listener)
Removes the listener which should invoke if this series become selected/unselected
|
void |
removeIsVisibleChangeListener(RenderableSeriesChangeListener listener)
Removes the listener which should invoke if this series become visible/invisible
|
void |
setDataSeries(IDataSeries dataSeries)
Sets the
IDataSeries associated with this series |
void |
setOpacity(float opacity)
Sets the opacity factor applied to
IRenderableSeries the when it is rendered on SciChartSurface . |
void |
setPaletteProvider(IPaletteProvider paletteProvider)
Set the
IPaletteProvider instance associated with this series |
void |
setPointMarker(IPointMarker pointMarker)
Sets the
IPointMarker for this renderable series |
void |
setRenderPassDataTransformation(IRenderPassDataTransformation renderPassDataTransformation)
Set's the
IRenderPassDataTransformation instance associated with this series. |
void |
setResamplingMode(com.scichart.data.numerics.ResamplingMode resamplingMode)
Sets the
ResamplingMode used when drawing this series |
void |
setSelectedSeriesStyle(ISeriesStyle selectedSeriesStyle)
Sets the
ISeriesStyle which is applied when series is selected |
void |
setSeriesInfoProvider(ISeriesInfoProvider seriesInfoProvider)
Sets the
ISeriesInfoProvider instance associated with this series. |
void |
setStrokeStyle(com.scichart.drawing.common.PenStyle strokeStyle)
Sets the stroke style of this renderable series
|
void |
setXAxisId(java.lang.String xAxisId)
Sets the id of XAxis that this
IRenderableSeries is associated with |
void |
setYAxisId(java.lang.String yAxisId)
Sets the id of YAxis that this
IRenderableSeries is associated with |
void |
updateRenderPassData(IAxis xAxis,
IAxis yAxis,
RenderPassState renderPassState)
Called during render pass and updates current render pass data
|
void |
verticalSliceHitTest(HitTestInfo hitTestResult,
float x,
float y)
Performs a hit-test at the specific point with zero hit-test radium.
|
getIsSelected, getIsVisible, isValidForDrawing, isValidForUpdate, setIsSelected, setIsVisible
invalidateElement
update
applyThemeProvider
attachTo, detach, isAttached
onRenderSurfaceChanged
int getSeriesColor()
IRenderableSeries
instance.IRenderableSeries
instance.com.scichart.drawing.common.PenStyle getStrokeStyle()
void setStrokeStyle(com.scichart.drawing.common.PenStyle strokeStyle)
strokeStyle
- New stroke stylefloat getOpacity()
IRenderableSeries
the when it is rendered on SciChartSurface
.
Default opacity is 1.0. Expected values are between 0.0 and 1.0.void setOpacity(float opacity)
IRenderableSeries
the when it is rendered on SciChartSurface
.
Default opacity is 1.0. Expected values are between 0.0 and 1.0.opacity
- The new opacity factor.IPointMarker getPointMarker()
IPointMarker
for this renderable seriesvoid setPointMarker(IPointMarker pointMarker)
IPointMarker
for this renderable seriespointMarker
- New point markercom.scichart.data.numerics.ResamplingMode getResamplingMode()
ResamplingMode
used when drawing this seriesvoid setResamplingMode(com.scichart.data.numerics.ResamplingMode resamplingMode)
ResamplingMode
used when drawing this seriesresamplingMode
- New resampling modeIDataSeries getDataSeries()
IDataSeries
associated with this seriesvoid setDataSeries(IDataSeries dataSeries)
IDataSeries
associated with this seriesdataSeries
- New data seriesboolean hasDataSeries()
java.lang.String getXAxisId()
IRenderableSeries
is associated withvoid setXAxisId(java.lang.String xAxisId)
IRenderableSeries
is associated withxAxisId
- New XAxis idjava.lang.String getYAxisId()
IRenderableSeries
is associated withvoid setYAxisId(java.lang.String yAxisId)
IRenderableSeries
is associated withyAxisId
- New YAxis idIAxis getXAxis()
IRenderableSeries
is associated withIAxis getYAxis()
IRenderableSeries
is associated withcom.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 basiscom.scichart.data.model.IRange getYRange(ICoordinateCalculator xCoordCalc, boolean getPositiveRange)
IRenderableSeries
on Y direction by querying the associated data seriesxCoordCalc
- The XAxis coordinate calculator currently used.getPositiveRange
- Indicates whether to return positive YRange onlyISeriesRenderPassData getCurrentRenderPassData()
ISeriesRenderPassData
instance which is used for render passvoid hitTest(@NonNull HitTestInfo hitTestResult, float x, float y)
IRenderableSeriesArea
hitTestResult
- The HitTestInfo
instance where result of hit-test should be storedx
- The x coordinate in pixels relative to parent IRenderableSeriesArea
y
- The y coordinate in pixels relative to parent IRenderableSeriesArea
void hitTest(@NonNull HitTestInfo hitTestResult, float x, float y, float hitTestRadius)
IRenderableSeriesArea
hitTestResult
- The HitTestInfo
instance where result of hit-test should be storedx
- The x coordinate in pixels relative to parent IRenderableSeriesArea
y
- The y coordinate in pixels relative to parent IRenderableSeriesArea
hitTestRadius
- The radius in pixels to determine whether hit point is over a data pointvoid verticalSliceHitTest(@NonNull HitTestInfo hitTestResult, float x, float y)
hitTestResult
- The HitTestInfo
instance where result of hit-test should be storedx
- The x coordinate in pixels relative to parent IRenderableSeriesArea
y
- The y coordinate in pixels relative to parent IRenderableSeriesArea
ISeriesInfoProvider getSeriesInfoProvider()
ISeriesInfoProvider
instance associated with this series.ISeriesInfoProvider
instancevoid setSeriesInfoProvider(ISeriesInfoProvider seriesInfoProvider)
ISeriesInfoProvider
instance associated with this series.seriesInfoProvider
- New ISeriesInfoProvider
instanceIRenderPassDataTransformation getRenderPassDataTransformation()
IRenderPassDataTransformation
instance associated with this series.IRenderPassDataTransformation
instance.void setRenderPassDataTransformation(IRenderPassDataTransformation renderPassDataTransformation)
IRenderPassDataTransformation
instance associated with this series.renderPassDataTransformation
- New IRenderPassDataTransformation
instance.IPaletteProvider getPaletteProvider()
IPaletteProvider
instance associated with this seriesIPaletteProvider
instancevoid setPaletteProvider(IPaletteProvider paletteProvider)
IPaletteProvider
instance associated with this seriespaletteProvider
- The new IPaletteProvider
instancevoid addIsVisibleChangeListener(RenderableSeriesChangeListener listener)
listener
- The listener to addvoid removeIsVisibleChangeListener(RenderableSeriesChangeListener listener)
listener
- The listener to removevoid addIsSelectedChangeListener(RenderableSeriesChangeListener listener)
listener
- The listener to addvoid removeIsSelectedChangeListener(RenderableSeriesChangeListener listener)
listener
- The listener to removevoid setSelectedSeriesStyle(ISeriesStyle selectedSeriesStyle)
ISeriesStyle
which is applied when series is selectedselectedSeriesStyle
- The new series selected styleISeriesStyle getSelectedSeriesStyle()
ISeriesStyle
which is applied when series is selectedvoid updateRenderPassData(IAxis xAxis, IAxis yAxis, RenderPassState renderPassState)
xAxis
- The XAxis instance that this IRenderableSeries
is associated withyAxis
- The YAxis instance that this IRenderableSeries
is associated withrenderPassState
- The current render pass stateIReadWriteLock getRenderPassDataLock()
IReadWriteLock
instance to lock render pass dataIReadWriteLock
instance to lock render pass dataIReadWriteLock getDataSeriesLock()
IReadWriteLock
instance to lock data seriesIReadWriteLock
instance to lock data series