public class RolloverModifier extends TooltipModifierWithAxisLabelsBase
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 ChartModifierBase.isEnabled
to True to enable this behaviour.CursorModifier
,
TooltipModifier
showTooltipProperty, sourceModeProperty, tooltipBehavior, useInterpolationProperty
Modifier | Constructor and Description |
---|---|
|
RolloverModifier()
Creates a new instance of the
RolloverModifier class. |
protected |
RolloverModifier(RolloverBehavior<?> rolloverBehavior,
AxisTooltipsBehaviorBase<?> axisTooltipsBehavior)
Creates a new instance of the
RolloverModifier class. |
Modifier and Type | Method and Description |
---|---|
void |
applyThemeProvider(IThemeProvider themeProvider)
Applies specified theme to current instance
|
boolean |
getDrawVerticalLine()
Gets whether a Vertical Line should be drawn at the rollover location.
|
android.graphics.Paint |
getVerticalLinePaint()
Gets the
Paint instance which will be used by RolloverVerticalLineDrawableBehavior to draw the vertical line. |
protected com.scichart.core.observable.ObservableCollection<IAxis> |
getYAxesWithOverlays()
Gets the
ObservableCollection of the Y-Axis from the parent SciChartSurface . |
void |
setDrawVerticalLine(boolean drawVerticalLine)
Sets whether a Vertical Line should be drawn at the rollover location.
|
attachTo, clearAll, detach, getShowAxisLabels, getXAxesWithOverlays, handleMasterTouchDownEvent, handleMasterTouchMoveEvent, handleMasterTouchUpEvent, handleSlaveTouchDownEvent, handleSlaveTouchMoveEvent, handleSlaveTouchUpEvent, onXAxesDrasticallyChanged, onYAxesDrasticallyChanged, setShowAxisLabels
getObservableSeries, getShowTooltip, getSourceMode, getUseInterpolation, onRenderableSeriesDrasticallyChanged, setShowTooltip, setSourceMode, setUseInterpolation
isEnabledAt, onTouchDown, onTouchMove, onTouchUp, updateCurrentPoint
onTouch, onTouchCancel
getContext, getEventsGroupTag, getIsEnabled, getMasterModifier, getModifierSurface, getParentSurface, getPointRelativeTo, getReceiveHandledEvents, getRenderableSeries, getRenderableSeriesArea, getServices, getXAxes, getXAxis, getXAxis, getYAxes, getYAxis, getYAxis, isAttached, isWithinSourceBounds, onAnnotationsCollectionChanged, onAnnotationsDrasticallyChanged, onGenericMotion, onIsEnabledChanged, onParentSurfaceResized, onRenderableSeriesCollectionChanged, onRenderSurfaceRendered, onSelectedSeriesCollectionChanged, onXAxesCollectionChanged, onYAxesCollectionChanged, setEventsGroupTag, setIsEnabled, setReceiveHandledEvents
public RolloverModifier()
RolloverModifier
class.protected RolloverModifier(RolloverBehavior<?> rolloverBehavior, AxisTooltipsBehaviorBase<?> axisTooltipsBehavior)
RolloverModifier
class.rolloverBehavior
- The RolloverBehavior
which will be associated with this modifier.axisTooltipsBehavior
- The AxisTooltipsBehavior
which will be associated with this modifier.public final android.graphics.Paint getVerticalLinePaint()
Paint
instance which will be used by RolloverVerticalLineDrawableBehavior
to draw the vertical line.Paint
instance which will be used by RolloverVerticalLineDrawableBehavior
to draw the vertical line.public final boolean getDrawVerticalLine()
public final void setDrawVerticalLine(boolean drawVerticalLine)
drawVerticalLine
- Value which indicates whether a Vertical Line should be drawn at the rollover location.public void applyThemeProvider(IThemeProvider themeProvider)
applyThemeProvider
in interface IThemeable
applyThemeProvider
in class TooltipModifierWithAxisLabelsBase
themeProvider
- The IThemeProvider
instance which provides new theme for current instanceprotected com.scichart.core.observable.ObservableCollection<IAxis> getYAxesWithOverlays()
ObservableCollection
of the Y-Axis from the parent SciChartSurface
.getYAxesWithOverlays
in class TooltipModifierWithAxisLabelsBase
ObservableCollection
of the Y-Axis from the parent SciChartSurface
.