Search Results for

    Show / Hide Table of Contents

    Class TooltipBehavior<T>

    Provides a tooltip behavior for IChartModifier implementors.

    Inheritance
    java.lang.Object
    ModifierBehavior<T>
    TooltipBehaviorBase
    TooltipBehavior<T>
    Implements
    com.scichart.charting.modifiers.behaviors.TooltipLayoutHelper.SeriesTooltipCallback<com.scichart.charting.visuals.renderableSeries.tooltips.ISeriesTooltip>
    Inherited Members
    ModifierBehavior.applyThemeProvider(IThemeProvider)
    ModifierBehavior.attachTo(ModifierBehavior,IChartModifierCore,boolean)
    ModifierBehavior.attachTo(IServiceContainer)
    ModifierBehavior.clear()
    ModifierBehavior.detach()
    ModifierBehavior.getIsEnabled()
    ModifierBehavior.isAttached()
    ModifierBehavior.isLastPointValid()
    ModifierBehavior.onBeginUpdate(PointF,boolean)
    ModifierBehavior.onEndUpdate(PointF,boolean)
    ModifierBehavior.onIsEnabledChanged(boolean)
    ModifierBehavior.onUpdate(PointF,boolean)
    ModifierBehavior.resetLastUpdatePoint()
    ModifierBehavior.setIsEnabled(boolean)
    TooltipBehaviorBase.func(renderableSeries.IRenderableSeries)
    TooltipBehaviorBase.getObservableSeries()
    TooltipBehaviorBase.getSourceMode()
    TooltipBehaviorBase.getUseInterpolation()
    TooltipBehaviorBase.isHitPointValid(renderableSeries.hitTest.HitTestInfo)
    TooltipBehaviorBase.isSeriesValid(renderableSeries.IRenderableSeries)
    TooltipBehaviorBase.onObservableSeriesDrasticallyChanged()
    TooltipBehaviorBase.setIncludedRenderableSeries(IncludedItems)
    TooltipBehaviorBase.setObservableSeries(ObservableCollection<renderableSeries.IRenderableSeries>)
    TooltipBehaviorBase.setSourceMode(SourceMode)
    TooltipBehaviorBase.setUseInterpolation(boolean)
    Object.clone()
    Object.equals(Object)
    Object.finalize()
    Object.getClass()
    Object.hashCode()
    Object.notify()
    Object.notifyAll()
    Object.toString()
    Object.wait()
    Object.wait(long)
    Object.wait(long,int)
    Namespace:
    Assembly: .dll
    Syntax
    public class TooltipBehavior<T> extends TooltipBehaviorBase<T> implements TooltipLayoutHelper.SeriesTooltipCallback<renderableSeriesISeriesTooltip>
    Type Parameters
    Name Description
    T

    Constructors

    TooltipBehavior(Class<T> modifierType, int tooltipContainerLayoutResId)

    Creates a new instance of TooltipBehaviorBase class

    Declaration
    public TooltipBehavior(Class<T> modifierType, int tooltipContainerLayoutResId)
    Parameters
    Type Name Description
    Class<T> modifierType

    The type of the associated IChartModifier

    int tooltipContainerLayoutResId

    The layout resource id which will be used to inflate tooltip container.

    Methods

    applyThemeProvider(IThemeProvider themeProvider)

    Applies specified theme to current instance

    Declaration
    public void applyThemeProvider(IThemeProvider themeProvider)
    Parameters
    Type Name Description
    IThemeProvider themeProvider
    Overrides
    ModifierBehavior<T>.applyThemeProvider(IThemeProvider themeProvider)

    attachTo(IServiceContainer services)

    Declaration
    public void attachTo(IServiceContainer services)
    Parameters
    Type Name Description
    IServiceContainer services
    Overrides
    ModifierBehavior<T>.attachTo(IServiceContainer services)

    clear()

    Clears ModifierBehavior#lastUpdatePoint x and y to NaN values.

    Declaration
    public void clear()
    Overrides
    ModifierBehavior<T>.clear()

    detach()

    Declaration
    public void detach()
    Overrides
    ModifierBehavior<T>.detach()

    getTooltipPosition()

    Gets the position of the tooltip related to the current touch point.

    Declaration
    public TooltipPosition getTooltipPosition()
    Returns
    Type Description
    TooltipPosition

    The TooltipPosition related to the current touch point.

    onBeginUpdate(PointF point, boolean isMaster)

    Called when associated IChartModifier instance handle touch down event.

    Declaration
    public void onBeginUpdate(PointF point, boolean isMaster)
    Parameters
    Type Name Description
    android.graphics.PointF point
    boolean isMaster
    Overrides
    ModifierBehavior<T>.onBeginUpdate(PointF point, boolean isMaster)

    onEndUpdate(PointF point, boolean isMaster)

    Called when associated IChartModifier instance handle touch up event.

    Declaration
    public void onEndUpdate(PointF point, boolean isMaster)
    Parameters
    Type Name Description
    android.graphics.PointF point
    boolean isMaster
    Overrides
    ModifierBehavior<T>.onEndUpdate(PointF point, boolean isMaster)

    onObservableSeriesDrasticallyChanged()

    Called when the TooltipBehaviorBase#observableSeries has drastically changed.

    Declaration
    protected void onObservableSeriesDrasticallyChanged()
    Overrides
    TooltipBehaviorBase<T>.onObservableSeriesDrasticallyChanged()

    onUpdate(PointF point, boolean isMaster)

    Called when associated IChartModifier instance handle touch move event.

    Declaration
    public void onUpdate(PointF point, boolean isMaster)
    Parameters
    Type Name Description
    android.graphics.PointF point
    boolean isMaster
    Overrides
    ModifierBehavior<T>.onUpdate(PointF point, boolean isMaster)

    setTooltipPosition(TooltipPosition tooltipPosition)

    Sets the position of the tooltip related to the current touch point.

    Declaration
    public void setTooltipPosition(TooltipPosition tooltipPosition)
    Parameters
    Type Name Description
    TooltipPosition tooltipPosition

    The TooltipPosition related to the current touch point.

    tryUpdateTooltip(renderableSeriesISeriesTooltip seriesTooltip, float x, float y)

    Declaration
    public boolean tryUpdateTooltip(renderableSeriesISeriesTooltip seriesTooltip, float x, float y)
    Parameters
    Type Name Description
    renderableSeriesISeriesTooltip seriesTooltip
    float x
    float y
    Returns
    Type Description
    boolean

    updateHitTestInfo(renderableSeries.hitTest.HitTestInfo hitTestInfo, renderableSeries.IRenderableSeries rs, float x, float y)

    Declaration
    protected void updateHitTestInfo(renderableSeries.hitTest.HitTestInfo hitTestInfo, renderableSeries.IRenderableSeries rs, float x, float y)
    Parameters
    Type Name Description
    renderableSeries.hitTest.HitTestInfo hitTestInfo
    renderableSeries.IRenderableSeries rs
    float x
    float y

    Implements

    com.scichart.charting.modifiers.behaviors.TooltipLayoutHelper.SeriesTooltipCallback<com.scichart.charting.visuals.renderableSeries.tooltips.ISeriesTooltip>
    Back to top © 2011-2025 SciChart. All rights reserved. | sitemap.xml