Search Results for

    Show / Hide Table of Contents

    Class PieChartTooltipModifier

    Add to a SciPieChartSurface and set PieChartTooltipModifier#getIsEnabled() to True to enable this behaviour.

    Inheritance
    java.lang.Object
    ReceiveMotionEventsBase
    ChartModifierCore
    PieChartModifierBase
    PieChartTouchModifierBase
    PieChartMasterSlaveTouchModifierBase
    PieChartTooltipModifierBase
    PieChartTooltipModifier
    Inherited Members
    ChartModifierCore.applyThemeProvider(IThemeProvider)
    ChartModifierCore.checkPointerCounter(MotionEvent,int)
    ChartModifierCore.getEventsGroupTag()
    ChartModifierCore.getIsEnabled()
    ChartModifierCore.getReceiveHandledEvents()
    ChartModifierCore.getServices()
    ChartModifierCore.isAttached()
    ChartModifierCore.onGenericMotion(ModifierTouchEventArgs)
    ChartModifierCore.onIsEnabledChanged(boolean)
    ChartModifierCore.setEventsGroupTag(String)
    ChartModifierCore.setIsEnabled(boolean)
    ChartModifierCore.setReceiveHandledEvents(boolean)
    PieChartMasterSlaveTouchModifierBase.isEnabledAt(PointF,boolean)
    PieChartMasterSlaveTouchModifierBase.onTouchDown(ModifierTouchEventArgs)
    PieChartMasterSlaveTouchModifierBase.onTouchMove(ModifierTouchEventArgs)
    PieChartMasterSlaveTouchModifierBase.onTouchUp(ModifierTouchEventArgs)
    PieChartMasterSlaveTouchModifierBase.updateCurrentPoint(PointF,ModifierTouchEventArgs)
    PieChartModifierBase.getContext()
    PieChartModifierBase.getModifierSurface()
    PieChartModifierBase.getParentSurface()
    PieChartModifierBase.getPointRelativeTo(PointF,IHitTestable)
    PieChartModifierBase.getRenderableSeries()
    PieChartModifierBase.onParentSurfaceResized(ResizedMessage)
    PieChartModifierBase.onPieRenderSurfaceRendered(PieChartRenderedMessage)
    PieChartModifierBase.onRenderableSeriesCollectionChanged(CollectionChangedEventArgs<? extends renderableSeries.IRenderableSeriesCore>)
    PieChartModifierBase.onSegmentCollectionDrasticallyChanged()
    PieChartModifierBase.onSegmentsCollectionChanged(CollectionChangedEventArgs<renderableSeries.IPieSegment>)
    PieChartModifierBase.onSelectedSegmentsCollectionChanged(CollectionChangedEventArgs<renderableSeries.IPieSegment>)
    PieChartModifierBase.onSelectedSeriesCollectionChanged(CollectionChangedEventArgs<? extends renderableSeries.IRenderableSeriesCore>)
    PieChartTooltipModifierBase.attachTo(IServiceContainer)
    PieChartTooltipModifierBase.clearAll()
    PieChartTooltipModifierBase.detach()
    PieChartTooltipModifierBase.getObservableSeries()
    PieChartTooltipModifierBase.getShowTooltip()
    PieChartTooltipModifierBase.getSourceMode()
    PieChartTooltipModifierBase.handleMasterTouchDownEvent(PointF)
    PieChartTooltipModifierBase.handleMasterTouchMoveEvent(PointF)
    PieChartTooltipModifierBase.handleMasterTouchUpEvent(PointF)
    PieChartTooltipModifierBase.handleSlaveTouchDownEvent(PointF)
    PieChartTooltipModifierBase.handleSlaveTouchMoveEvent(PointF)
    PieChartTooltipModifierBase.handleSlaveTouchUpEvent(PointF)
    PieChartTooltipModifierBase.onRenderableSeriesDrasticallyChanged()
    PieChartTooltipModifierBase.setShowTooltip(boolean)
    PieChartTooltipModifierBase.setSourceMode(SourceMode)
    PieChartTouchModifierBase.onTouch(ModifierTouchEventArgs)
    PieChartTouchModifierBase.onTouchCancel(ModifierTouchEventArgs)
    ReceiveMotionEventsBase.getName()
    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 PieChartTooltipModifier extends PieChartTooltipModifierBase

    Constructors

    PieChartTooltipModifier()

    Creates a new instance of the PieChartTooltipModifier class.

    Declaration
    public PieChartTooltipModifier()

    PieChartTooltipModifier(DrawableBehavior<?> drawableBehavior)

    Creates a new instance of the PieChartTooltipModifier class with the DrawableBehavior instance.

    Declaration
    public PieChartTooltipModifier(DrawableBehavior<?> drawableBehavior)
    Parameters
    Type Name Description
    DrawableBehavior<?> drawableBehavior

    The DrawableBehavior instance which will be use to show marker which will identify what point will be Hit-tested.

    PieChartTooltipModifier(DrawableBehavior<?> drawableBehavior, int tooltipContainerLayoutResId)

    Creates a new instance of the PieChartTooltipModifier class.

    Declaration
    public PieChartTooltipModifier(DrawableBehavior<?> drawableBehavior, int tooltipContainerLayoutResId)
    Parameters
    Type Name Description
    DrawableBehavior<?> drawableBehavior

    The DrawableBehavior instance which will be use to show marker which will identify what point will be Hit-tested.

    int tooltipContainerLayoutResId

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

    PieChartTooltipModifier(PieChartTooltipBehavior<?> tooltipBehavior, DrawableBehavior<?> drawableBehavior)

    Creates a new instance of the PieChartTooltipModifier class.

    Declaration
    protected PieChartTooltipModifier(PieChartTooltipBehavior<?> tooltipBehavior, DrawableBehavior<?> drawableBehavior)
    Parameters
    Type Name Description
    PieChartTooltipBehavior<?> tooltipBehavior

    The PieChartTooltipBehavior which will be associated with this modifier.

    DrawableBehavior<?> drawableBehavior

    The DrawableBehavior instance which will be use to show marker which will identify what point will be Hit-tested.

    Methods

    applyThemeProvider(IThemeProvider themeProvider)

    Applies specified theme to current instance

    Declaration
    public void applyThemeProvider(IThemeProvider themeProvider)
    Parameters
    Type Name Description
    IThemeProvider themeProvider
    Overrides
    ChartModifierCore.applyThemeProvider(IThemeProvider themeProvider)

    attachTo(IServiceContainer services)

    Declaration
    public void attachTo(IServiceContainer services)
    Parameters
    Type Name Description
    IServiceContainer services
    Overrides
    PieChartTooltipModifierBase.attachTo(IServiceContainer services)

    clearAll()

    When overridden in a derived class, this method should clear all markers and tooltips from the SciPieChartSurface#getModifierSurface().

    Declaration
    protected void clearAll()
    Overrides
    PieChartTooltipModifierBase.clearAll()

    detach()

    Declaration
    public void detach()
    Overrides
    PieChartTooltipModifierBase.detach()

    getCustomPointOffset()

    Gets the PointF value which will replace PieChartTooltipModifier#offset and will be used to shift tooltip and the marker in custom x and y directions.

    Declaration
    public PointF getCustomPointOffset()
    Returns
    Type Description
    android.graphics.PointF

    The custom PointF offset to shift tooltip.

    getMarkerPlacement()

    Gets the Placement mode, to determine where to place tooltip and the marker relatively to the Hit-test point.

    Declaration
    public Placement getMarkerPlacement()
    Returns
    Type Description
    Placement

    The one of the Placement modes, to place tooltip properly.

    getOffset()

    Gets the offset on which tooltip and the marker will be shifted in x and y directions.

    Declaration
    public float getOffset()
    Returns
    Type Description
    float

    The offset on which tooltip and the marker will be shifted in x and y directions.

    getTooltipPointMarkerPaint()

    Gets the Paint instance which will be used by PieChartCrossDrawableBehavior do draw the marker.

    Declaration
    public final Paint getTooltipPointMarkerPaint()
    Returns
    Type Description
    android.graphics.Paint

    The Paint instance which will be used by PieChartCrossDrawableBehavior do draw the marker.

    getTooltipPosition()

    Gets the TooltipPosition mode, to determine where to place tooltip relatively to the marker.

    Declaration
    public TooltipPosition getTooltipPosition()
    Returns
    Type Description
    TooltipPosition

    The one of the TooltipPosition modes, to place tooltip properly.

    handleMasterTouchDownEvent(PointF point)

    When overridden in a derived class, called to handle the Master ChartModifierBase MotionEvent#ACTION_DOWN

    Declaration
    protected void handleMasterTouchDownEvent(PointF point)
    Parameters
    Type Name Description
    android.graphics.PointF point
    Overrides
    PieChartTooltipModifierBase.handleMasterTouchDownEvent(PointF point)

    handleMasterTouchMoveEvent(PointF point)

    When overridden in a derived class, called to handle the Master ChartModifierBase MotionEvent#ACTION_MOVE

    Declaration
    protected void handleMasterTouchMoveEvent(PointF point)
    Parameters
    Type Name Description
    android.graphics.PointF point
    Overrides
    PieChartTooltipModifierBase.handleMasterTouchMoveEvent(PointF point)

    handleMasterTouchUpEvent(PointF point)

    When overridden in a derived class, called to handle the Master ChartModifierBase MotionEvent#ACTION_UP

    Declaration
    protected void handleMasterTouchUpEvent(PointF point)
    Parameters
    Type Name Description
    android.graphics.PointF point
    Overrides
    PieChartTooltipModifierBase.handleMasterTouchUpEvent(PointF point)

    setCustomPointOffset(PointF customPointOffset)

    Sets the PointF value which will replace PieChartTooltipModifier#offset and will be used to shift tooltip and the marker in custom x and y directions.

    Declaration
    public void setCustomPointOffset(PointF customPointOffset)
    Parameters
    Type Name Description
    android.graphics.PointF customPointOffset

    The new PointF value which will replace PieChartTooltipModifier#offset and will be used to shift tooltip and the marker in custom x and y directions.

    setMarkerPlacement(Placement markerPlacement)

    Sets the Placement mode, to determine where to place tooltip and the marker relatively to the Hit-test point.

    Declaration
    public void setMarkerPlacement(Placement markerPlacement)
    Parameters
    Type Name Description
    Placement markerPlacement

    The new Placement mode, to determine where to place tooltip and the marker relatively to the Hit-test point.

    setOffset(float offset)

    Sets the offset on which tooltip and the marker will be shifted in x and y directions.

    Declaration
    public void setOffset(float offset)
    Parameters
    Type Name Description
    float offset

    Value which indicates the offset on which tooltip and the marker will be shifted in x and y directions.

    setTooltipPosition(TooltipPosition tooltipPosition)

    Sets the TooltipPosition mode, to determine where to place tooltip relatively to the marker.

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

    The new TooltipPosition mode, to determine where to place tooltip relatively to the marker.

    updateCurrentPoint(PointF currentPoint, ModifierTouchEventArgs args)

    Updates the passed in current point when one of the following methods was called: MasterSlaveTouchModifierBase#onTouchDown(ModifierTouchEventArgs), MasterSlaveTouchModifierBase#onTouchMove(ModifierTouchEventArgs), MasterSlaveTouchModifierBase#onTouchUp(ModifierTouchEventArgs).

    Declaration
    protected boolean updateCurrentPoint(PointF currentPoint, ModifierTouchEventArgs args)
    Parameters
    Type Name Description
    android.graphics.PointF currentPoint
    ModifierTouchEventArgs args
    Returns
    Type Description
    boolean
    Overrides
    PieChartMasterSlaveTouchModifierBase.updateCurrentPoint(PointF currentPoint, ModifierTouchEventArgs args)
    Back to top © 2011-2025 SciChart. All rights reserved. | sitemap.xml