Class ChartTooltipBehavior
Inheritance
System.Object
ChartTooltipBehavior
Assembly: Syncfusion.SfChart.Android.dll
public class ChartTooltipBehavior : ChartBehavior
Constructors
Declaration
public ChartTooltipBehavior()
Properties
Declaration
public TooltipAnimation AnimationType { get; set; }
Property Value
Gets or sets the BackgroundColor of Tooltip label.
Declaration
public Color BackgroundColor { get; set; }
Property Value
Type |
Android.Graphics.Color |
Gets or sets double value that indicates duration of tooltip.
Declaration
public double Duration { get; set; }
Property Value
Declaration
public string LabelFormat { get; set; }
Property Value
Declaration
public float MarginBottom { get; set; }
Property Value
Declaration
public float MarginLeft { get; set; }
Property Value
Declaration
public float MarginRight { get; set; }
Property Value
Declaration
public float MarginTop { get; set; }
Property Value
Declaration
public float OffsetX { get; set; }
Property Value
Declaration
public float OffsetY { get; set; }
Property Value
Declaration
public float PointerLength { get; set; }
Property Value
Declaration
public Color StrokeColor { get; set; }
Property Value
Type |
Android.Graphics.Color |
Declaration
public float StrokeWidth { get; set; }
Property Value
TextColor
Declaration
public Color TextColor { get; set; }
Property Value
Type |
Android.Graphics.Color |
TextSize
Declaration
public float TextSize { get; set; }
Property Value
Declaration
public ChartElementPosition TooltipPosition { get; set; }
Property Value
Declaration
public Typeface Typeface { get; set; }
Property Value
Type |
Android.Graphics.Typeface |
Methods
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 |
|
Declaration
protected virtual View GetView(TooltipView tooltipView)
Parameters
Returns
Method used to hide the tooltip from view.
Declaration
public void Hide(bool canAnimate)
Parameters
Type |
Name |
Description |
System.Boolean |
canAnimate |
|
Declaration
protected override void OnDoubleTap(float pointX, float pointY)
Parameters
Type |
Name |
Description |
System.Single |
pointX |
|
System.Single |
pointY |
|
Overrides
Declaration
protected override void OnLayoutUpdated()
Overrides
Declaration
protected override void OnTouchDown(float pointX, float pointY)
Parameters
Type |
Name |
Description |
System.Single |
pointX |
|
System.Single |
pointY |
|
Overrides
Declaration
protected override void OnTouchMove(float pointX, float pointY)
Parameters
Type |
Name |
Description |
System.Single |
pointX |
|
System.Single |
pointY |
|
Overrides
Declaration
protected override void OnTouchUp(float pointX, float pointY)
Parameters
Type |
Name |
Description |
System.Single |
pointX |
|
System.Single |
pointY |
|
Overrides
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 |
|