Class SeriesValueModifier
A custom ChartModifier which places an com.scichart.charting.visuals.annotations.AxisMarkerAnnotation on the YAxis for each RenderableSeries in the chart, showing the current com.scichart.charting.visuals.renderableSeries.IRenderableSeries latest Y-value.
E.g. for each series, place one axis-marker with the latest Y-value of the series
Inheritance
SeriesValueModifier
Inherited Members
Namespace:
Assembly: .dll
Syntax
public class SeriesValueModifier extends ChartModifierBase
Constructors
SeriesValueModifier()
Creates new instance of SeriesValueModifier
Declaration
public SeriesValueModifier()
SeriesValueModifier(SeriesValueModifier.ISeriesValueMarkerFactory markerFactory)
Creates new instance of SeriesValueModifier
Declaration
public SeriesValueModifier(SeriesValueModifier.ISeriesValueMarkerFactory markerFactory)
Parameters
Type | Name | Description |
---|---|---|
SeriesValueModifier.ISeriesValueMarkerFactory | markerFactory | The factory to use for creation of markers for renderable series |
SeriesValueModifier(Predicate<renderableSeries.IRenderableSeries> isValidRenderableSeriesPredicate)
Creates new instance of SeriesValueModifier
Declaration
public SeriesValueModifier(Predicate<renderableSeries.IRenderableSeries> isValidRenderableSeriesPredicate)
Parameters
Type | Name | Description |
---|---|---|
Predicate<IRenderableSeries> | isValidRenderableSeriesPredicate |
Methods
attachTo(IServiceContainer services)
Declaration
public void attachTo(IServiceContainer services)
Parameters
Type | Name | Description |
---|---|---|
IServiceContainer | services |
Overrides
detach()
Declaration
public void detach()
Overrides
detachMarkers()
Declaration
protected void detachMarkers()
onIsEnabledChanged(boolean isEnabled)
Called when isEnabled value has changed
Declaration
protected void onIsEnabledChanged(boolean isEnabled)
Parameters
Type | Name | Description |
---|---|---|
boolean | isEnabled |
Overrides
onRenderableSeriesDrasticallyChanged()
Called when RenderableSeries collection drastically changed
Declaration
public void onRenderableSeriesDrasticallyChanged()