Class SeriesValueModifier.DefaultSeriesValueMarker
Defines the default implementation of ISeriesValueMarker that displays latest value as AxisMarkerAnnotation
Inheritance
SeriesValueModifier.DefaultSeriesValueMarker
Inherited Members
Namespace:
Assembly: .dll
Syntax
public static class SeriesValueModifier.DefaultSeriesValueMarker extends SeriesValueModifier.SeriesValueMarkerBase
Constructors
DefaultSeriesValueMarker(renderableSeries.IRenderableSeries renderableSeries, Predicate<renderableSeries.IRenderableSeries> isValidRenderableSeriesPredicate)
Creates new instance of DefaultSeriesValueMarker
Declaration
public DefaultSeriesValueMarker(renderableSeries.IRenderableSeries renderableSeries, Predicate<renderableSeries.IRenderableSeries> isValidRenderableSeriesPredicate)
Parameters
Type | Name | Description |
---|---|---|
renderableSeries.IRenderableSeries | renderableSeries | The target renderable series |
Predicate<IRenderableSeries> | isValidRenderableSeriesPredicate |
Methods
createAxisMarkerAnnotation(Context context)
Creates axis marker annnotation to display latest value of renderable series
Declaration
protected SeriesValueModifier.SeriesValueMarkerAnnotation createAxisMarkerAnnotation(Context context)
Parameters
Type | Name | Description |
---|---|---|
android.content.Context | context | The context to use for creating of axis marker |
Returns
Type | Description |
---|---|
SeriesValueModifier.SeriesValueMarkerAnnotation | Axis marker to use |
createMarkerAnnotation(Context context)
Creates annotation associated with current ISeriesValueMarker
Declaration
protected final void createMarkerAnnotation(Context context)
Parameters
Type | Name | Description |
---|---|---|
android.content.Context | context |
Overrides
destroyMarkerAnnotation()
Destroys annotation associated with current ISeriesValueMarker
Declaration
protected void destroyMarkerAnnotation()
Overrides
tryAddMarkerAnnotation(ISciChartSurface parentSurface)
Tries to add annotation associated with this ISeriesValueMarker into parent ISciChartSurface
Declaration
protected void tryAddMarkerAnnotation(ISciChartSurface parentSurface)
Parameters
Type | Name | Description |
---|---|---|
ISciChartSurface | parentSurface |
Overrides
tryRemoveMarkerAnnotation(ISciChartSurface parentSurface)
Tries to remove annotation associated with this ISeriesValueMarker into parent ISciChartSurface
Declaration
protected void tryRemoveMarkerAnnotation(ISciChartSurface parentSurface)
Parameters
Type | Name | Description |
---|---|---|
ISciChartSurface | parentSurface |