Interface ISeriesTooltip
Defines the interface for tooltips for IRenderableSeries.
Implements
Namespace:
Assembly: .dll
Syntax
public interface ISeriesTooltip extends renderableSeriesISeriesTooltipCore, renderableSeries.hitTest.IHitTestInfoUpdatable, IThemeable
Methods
containsHitRenderableSeries(renderableSeries.IRenderableSeries renderableSeries)
Checks whether series info contains passed in IRenderableSeries instance. Used mostly StackedSeriesTooltipBase and inheritors.
Declaration
public abstract boolean containsHitRenderableSeries(renderableSeries.IRenderableSeries renderableSeries)
Parameters
Type | Name | Description |
---|---|---|
renderableSeries.IRenderableSeries | renderableSeries | The IRenderableSeries instance. |
Returns
Type | Description |
---|---|
boolean | True if the underlying SeriesInfo contains passed in renderableSeries instance. Otherwise - false. |
getSeriesInfo()
Gets the associated SeriesInfo instance.
Declaration
public abstract renderableSeries.hitTest.SeriesInfo getSeriesInfo()
Returns
Type | Description |
---|---|
SeriesInfo | The associated SeriesInfo instance. |
onDrawTooltipOverlay(Canvas canvas)
Draws overlay provided by this tooltip.
Declaration
public abstract void onDrawTooltipOverlay(Canvas canvas)
Parameters
Type | Name | Description |
---|---|---|
android.graphics.Canvas | canvas | The target Canvas to draw overlay at. |
updateTooltip(Action2<View,PointF> updateAction, PointF xyCoordinate)
Updates tooltips with specified updateAction.
Declaration
public abstract void updateTooltip(Action2<View,PointF> updateAction, PointF xyCoordinate)
Parameters
Type | Name | Description |
---|---|---|
Action2<android.view.View,android.graphics.PointF> | updateAction | The action which updated this tooltip. |
android.graphics.PointF | xyCoordinate | The PointF coordinate to update tooltip at. |