menu

Xamarin.Android

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ChartTooltipBehavior - Xamarin.Android API Reference | Syncfusion

    Show / Hide Table of Contents

    Class ChartTooltipBehavior

    Inheritance
    System.Object
    ChartBehavior
    ChartTooltipBehavior
    Inherited Members
    ChartBehavior.Chart
    ChartBehavior.Invalidate()
    ChartBehavior.OnDraw(Canvas)
    ChartBehavior.OnLongPress(Single, Single)
    ChartBehavior.OnScroll(Single, Single, Single, Single)
    Namespace: Com.Syncfusion.Charts
    Assembly: Syncfusion.SfChart.Android.dll
    Syntax
    public class ChartTooltipBehavior : ChartBehavior

    Constructors

    ChartTooltipBehavior()

    Declaration
    public ChartTooltipBehavior()

    Properties

    AnimationType

    Declaration
    public TooltipAnimation AnimationType { get; set; }
    Property Value
    Type
    TooltipAnimation

    BackgroundColor

    Gets or sets the BackgroundColor of Tooltip label.

    Declaration
    public Color BackgroundColor { get; set; }
    Property Value
    Type
    Android.Graphics.Color

    Duration

    Gets or sets double value that indicates duration of tooltip.

    Declaration
    public double Duration { get; set; }
    Property Value
    Type
    System.Double

    LabelFormat

    Declaration
    public string LabelFormat { get; set; }
    Property Value
    Type
    System.String

    MarginBottom

    Declaration
    public float MarginBottom { get; set; }
    Property Value
    Type
    System.Single

    MarginLeft

    Declaration
    public float MarginLeft { get; set; }
    Property Value
    Type
    System.Single

    MarginRight

    Declaration
    public float MarginRight { get; set; }
    Property Value
    Type
    System.Single

    MarginTop

    Declaration
    public float MarginTop { get; set; }
    Property Value
    Type
    System.Single

    OffsetX

    Declaration
    public float OffsetX { get; set; }
    Property Value
    Type
    System.Single

    OffsetY

    Declaration
    public float OffsetY { get; set; }
    Property Value
    Type
    System.Single

    PointerLength

    Declaration
    public float PointerLength { get; set; }
    Property Value
    Type
    System.Single

    StrokeColor

    Declaration
    public Color StrokeColor { get; set; }
    Property Value
    Type
    Android.Graphics.Color

    StrokeWidth

    Declaration
    public float StrokeWidth { get; set; }
    Property Value
    Type
    System.Single

    TextColor

    Declaration
    public Color TextColor { get; set; }
    Property Value
    Type
    Android.Graphics.Color

    TextSize

    Declaration
    public float TextSize { get; set; }
    Property Value
    Type
    System.Single

    TooltipPosition

    Declaration
    public ChartElementPosition TooltipPosition { get; set; }
    Property Value
    Type
    ChartElementPosition

    Typeface

    Declaration
    public Typeface Typeface { get; set; }
    Property Value
    Type
    Android.Graphics.Typeface

    Methods

    DrawTooltip(Canvas, TooltipView)

    Draws the tooltip. You can customize the appearance and text by overriding this method.

    Declaration
    protected virtual void DrawTooltip(Canvas canvas, TooltipView tooltipView)
    Parameters
    Type Name Description
    Android.Graphics.Canvas canvas
    TooltipView tooltipView

    GetView(TooltipView)

    Declaration
    protected virtual View GetView(TooltipView tooltipView)
    Parameters
    Type Name Description
    TooltipView tooltipView
    Returns
    Type
    Android.Views.View

    Hide(Boolean)

    Method used to hide the tooltip from view.

    Declaration
    public void Hide(bool canAnimate)
    Parameters
    Type Name Description
    System.Boolean canAnimate

    OnDoubleTap(Single, Single)

    Declaration
    protected override void OnDoubleTap(float pointX, float pointY)
    Parameters
    Type Name Description
    System.Single pointX
    System.Single pointY
    Overrides
    ChartBehavior.OnDoubleTap(Single, Single)

    OnLayoutUpdated()

    Declaration
    protected override void OnLayoutUpdated()
    Overrides
    ChartBehavior.OnLayoutUpdated()

    OnTouchDown(Single, Single)

    Declaration
    protected override void OnTouchDown(float pointX, float pointY)
    Parameters
    Type Name Description
    System.Single pointX
    System.Single pointY
    Overrides
    ChartBehavior.OnTouchDown(Single, Single)

    OnTouchMove(Single, Single)

    Declaration
    protected override void OnTouchMove(float pointX, float pointY)
    Parameters
    Type Name Description
    System.Single pointX
    System.Single pointY
    Overrides
    ChartBehavior.OnTouchMove(Single, Single)

    OnTouchUp(Single, Single)

    Declaration
    protected override void OnTouchUp(float pointX, float pointY)
    Parameters
    Type Name Description
    System.Single pointX
    System.Single pointY
    Overrides
    ChartBehavior.OnTouchUp(Single, Single)

    Show(Single, Single, Boolean)

    Method used to show tooltip in view.

    Declaration
    public void Show(float pointX, float pointY, bool canAnimate)
    Parameters
    Type Name Description
    System.Single pointX
    System.Single pointY
    System.Boolean canAnimate
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved