Class SeriesSelectionModifier
The SeriesSelectionModifier provides the ability to select series via a Chart Modifier
Inheritance
Inherited Members
Namespace:
Assembly: .dll
Syntax
public class SeriesSelectionModifier extends GestureModifierBase
Constructors
SeriesSelectionModifier()
Declaration
public SeriesSelectionModifier()
Methods
deselectAll()
Deselects all selected IRenderableSeries instances.
Declaration
protected void deselectAll()
getSelectedSeriesStyle()
Gets a IStyle for the selected IRenderableSeries.
Declaration
public final renderableSeries.IStyle getSelectedSeriesStyle()
Returns
Type | Description |
---|---|
renderableSeries.IStyle | The IStyle for the selected IRenderableSeries. |
isHitPointValid(renderableSeries.hitTest.HitTestInfo hitTestInfo)
When overridden in derived classes, indicates whether HitTestInfo result is valid
Declaration
protected boolean isHitPointValid(renderableSeries.hitTest.HitTestInfo hitTestInfo)
Parameters
Type | Name | Description |
---|---|---|
renderableSeries.hitTest.HitTestInfo | hitTestInfo | The HitTestInfo instance which will be checked. |
Returns
Type | Description |
---|---|
boolean | True if the associated instance of the HitTestInfo is valid, else - false. |
onLongPress(MotionEvent e)
Declaration
public void onLongPress(MotionEvent e)
Parameters
Type | Name | Description |
---|---|---|
android.view.MotionEvent | e |
Overrides
onSelectedSeriesCollectionChanged(CollectionChangedEventArgs<? extends renderableSeries.IRenderableSeriesCore> args)
Called when SelectedSeries collection changes
Declaration
public void onSelectedSeriesCollectionChanged(CollectionChangedEventArgs<? extends renderableSeries.IRenderableSeriesCore> args)
Parameters
Type | Name | Description |
---|---|---|
CollectionChangedEventArgs<? extends com.scichart.charting.visuals.renderableSeries.IRenderableSeriesCore> | args |
Overrides
onSingleTapConfirmed(MotionEvent e)
Declaration
public boolean onSingleTapConfirmed(MotionEvent e)
Parameters
Type | Name | Description |
---|---|---|
android.view.MotionEvent | e |
Returns
Type | Description |
---|---|
boolean |
Overrides
performSelection(renderableSeries.IRenderableSeries renderableSeries)
Performs selection on specified IRenderableSeries instance
Declaration
protected void performSelection(renderableSeries.IRenderableSeries renderableSeries)
Parameters
Type | Name | Description |
---|---|---|
renderableSeries.IRenderableSeries | renderableSeries | The series to perform selection on |
setSelectedSeriesStyle(renderableSeries.IStyle selectedSeriesStyle)
Sets a IStyle for the selected IRenderableSeries.
Declaration
public final void setSelectedSeriesStyle(renderableSeries.IStyle selectedSeriesStyle)
Parameters
Type | Name | Description |
---|---|---|
renderableSeries.IStyle | selectedSeriesStyle | The new IStyle for selected series. |
tryPerformSelection(PointF point)
Try to perform selection at specified coordinates
Declaration
protected void tryPerformSelection(PointF point)
Parameters
Type | Name | Description |
---|---|---|
android.graphics.PointF | point | The coordinates of point to hit test |
trySetStyle(renderableSeries.IRenderableSeries renderableSeries)
Tries to set SeriesSelectionModifier#selectedSeriesStyle on the passed in IRenderableSeries instance.
Declaration
protected void trySetStyle(renderableSeries.IRenderableSeries renderableSeries)
Parameters
Type | Name | Description |
---|---|---|
renderableSeries.IRenderableSeries | renderableSeries | The IRenderableSeries instance to set style on. |