public class StackedSeriesTooltip extends StackedSeriesTooltipBase
StackedSeriesInfo
.tooltips
Constructor and Description |
---|
StackedSeriesTooltip(StackedSeriesInfo seriesInfo)
Creates a new instance of
StackedSeriesTooltip class |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
ISeriesTooltip |
func(IStackedRenderableSeries series)
Creates
ISeriesTooltip instance which is attached to the passed in IStackedRenderableSeries |
void |
invalidate()
Invalidate
ISeriesTooltip views using View.invalidate() |
void |
onDrawTooltipOverlay(android.graphics.Canvas canvas)
Draws overlay provided by this tooltip.
|
void |
placeInto(com.scichart.core.framework.IViewContainer viewContainer)
Places this tooltip into provided
IViewContainer |
void |
removeFrom(com.scichart.core.framework.IViewContainer viewContainer)
Removes this tooltip from provided
IViewContainer |
void |
requestLayout()
Requests layout for
ISeriesTooltip views using View.requestLayout() |
void |
setTooltipBackgroundColor(int color)
Sets the background color for this
ISeriesTooltip instance. |
void |
setTooltipStroke(int color)
Sets the stroke color for this
ISeriesTooltip instance. |
void |
setTooltipTextColor(int color)
Sets the text color for this
ISeriesTooltip instance. |
void |
update(HitTestInfo hitTestInfo,
boolean interpolate)
Updates this instance with information provided by
hitTestInfo instance |
void |
updateTooltip(com.scichart.core.common.Action2<android.view.View,android.graphics.PointF> updateAction,
android.graphics.PointF xyCoordinate)
Updates tooltips with specified updateAction.
|
applyThemeProvider, attachTo, containsHitRenderableSeries, detach, getRenderableSeries, getSeriesInfo, isAttached
public StackedSeriesTooltip(StackedSeriesInfo seriesInfo)
StackedSeriesTooltip
classseriesInfo
- The stacked series info instancepublic ISeriesTooltip func(IStackedRenderableSeries series)
ISeriesTooltip
instance which is attached to the passed in IStackedRenderableSeries
func
in interface com.scichart.core.common.Func1<IStackedRenderableSeries,ISeriesTooltip>
func
in class StackedSeriesTooltipBase
series
- IStackedRenderableSeries
instance for which tooltip should be created.ISeriesTooltip
instance.public void updateTooltip(com.scichart.core.common.Action2<android.view.View,android.graphics.PointF> updateAction, android.graphics.PointF xyCoordinate)
updateAction
- The action which updated this tooltip.xyCoordinate
- The PointF
coordinate to update tooltip at.public void onDrawTooltipOverlay(android.graphics.Canvas canvas)
canvas
- The target Canvas to draw overlay at.public void placeInto(com.scichart.core.framework.IViewContainer viewContainer)
IViewContainer
viewContainer
- The target view containerpublic void removeFrom(com.scichart.core.framework.IViewContainer viewContainer)
IViewContainer
viewContainer
- The target view containerpublic void update(HitTestInfo hitTestInfo, boolean interpolate)
hitTestInfo
instanceupdate
in interface IHitTestInfoUpdatable
update
in class StackedSeriesTooltipBase
hitTestInfo
- The results of hit testinterpolate
- If true perform interpolationpublic void requestLayout()
ISeriesTooltip
views using View.requestLayout()
public void invalidate()
ISeriesTooltip
views using View.invalidate()
public void clear()
clear
in interface com.scichart.core.framework.ICleanable
clear
in class StackedSeriesTooltipBase
public void setTooltipBackgroundColor(int color)
ISeriesTooltip
instance.color
- Int color which will be used as a background color.public void setTooltipStroke(int color)
ISeriesTooltip
instance.color
- Int color which will be used as a stroke color.public void setTooltipTextColor(int color)
ISeriesTooltip
instance.color
- Int color which will be used as a text color.