Class RolloverModifier
The RolloverModifier provides a touch-over hit-test to a chart, plus a collection of a SeriesInfo objects to bind to which updates as the touch moves. Add to a SciChartSurface and set RolloverModifier#getIsEnabled() to True to enable this behaviour. See Also: CursorModifier, TooltipModifier
Inheritance
Inherited Members
Namespace:
Assembly: .dll
Syntax
public class RolloverModifier extends TooltipModifierWithAxisLabelsBase
Constructors
RolloverModifier()
Creates a new instance of the RolloverModifier class.
Declaration
public RolloverModifier()
RolloverModifier(RolloverBehavior<?> rolloverBehavior, AxisTooltipsBehaviorBase<?> axisTooltipsBehavior)
Creates a new instance of the RolloverModifier class.
Declaration
protected RolloverModifier(RolloverBehavior<?> rolloverBehavior, AxisTooltipsBehaviorBase<?> axisTooltipsBehavior)
Parameters
Type | Name | Description |
---|---|---|
RolloverBehavior<?> | rolloverBehavior | The RolloverBehavior which will be associated with this modifier. |
AxisTooltipsBehaviorBase<?> | axisTooltipsBehavior | The AxisTooltipsBehavior which will be associated with this modifier. |
Methods
applyThemeProvider(IThemeProvider themeProvider)
Applies specified theme to current instance
Declaration
public void applyThemeProvider(IThemeProvider themeProvider)
Parameters
Type | Name | Description |
---|---|---|
IThemeProvider | themeProvider |
Overrides
getDrawVerticalLine()
Gets whether a Vertical Line should be drawn at the rollover location.
Declaration
public final boolean getDrawVerticalLine()
Returns
Type | Description |
---|---|
boolean | True if a Vertical Line should be drawn, else false. |
getVerticalLinePaint()
Gets the Paint instance which will be used by RolloverVerticalLineDrawableBehavior to draw the vertical line.
Declaration
public final Paint getVerticalLinePaint()
Returns
Type | Description |
---|---|
android.graphics.Paint | The Paint instance which will be used by RolloverVerticalLineDrawableBehavior to draw the vertical line. |
getYAxesWithOverlays()
Gets the ObservableCollection of the Y-Axis from the parent SciChartSurface.
Declaration
protected ObservableCollection<IAxis> getYAxesWithOverlays()
Returns
Type | Description |
---|---|
ObservableCollection<IAxis> |
Overrides
setDrawVerticalLine(boolean drawVerticalLine)
Sets whether a Vertical Line should be drawn at the rollover location.
Declaration
public final void setDrawVerticalLine(boolean drawVerticalLine)
Parameters
Type | Name | Description |
---|---|---|
boolean | drawVerticalLine | Value which indicates whether a Vertical Line should be drawn at the rollover location. |