Class SFChartTooltipBehavior
This class is used to customize the appearance of tooltip in
SFChart. An instance of this class need to be added to
Behaviors collection.
Inheritance
System.Object
SFChartTooltipBehavior
Assembly: Syncfusion.SFChart.iOS.dll
public class SFChartTooltipBehavior : SFChartBehavior
Constructors
Declaration
public SFChartTooltipBehavior()
Properties
Gets or sets the animation for the tooltip when it is shown or hidden.
Declaration
public SFChartTooltipAnimation Animation { get; set; }
Property Value
Gets or sets the background color of the tooltip.
Declaration
public UIColor BackgroundColor { get; set; }
Property Value
Gets or sets the border color of the tooltip.
Declaration
public UIColor BorderColor { get; set; }
Property Value
Gets or sets the width of the tooltip border line.
Declaration
public float BorderWidth { get; set; }
Property Value
Gets or sets the duration of the tooltip text in seconds.
Declaration
public double Duration { get; set; }
Property Value
Gets or sets the margin of the tooltip text.
Declaration
public UIEdgeInsets EdgeInsets { get; set; }
Property Value
Gets or sets the font for the tooltip text.
Declaration
public UIFont Font { get; set; }
Property Value
Gets or sets the label format for the tooltip label.
Declaration
public NSFormatter LabelFormatter { get; set; }
Property Value
Type |
Description |
Foundation.NSFormatter |
The label formatter.
|
Gets or sets the maximum width.
Declaration
public nfloat MaximumWidth { get; set; }
Property Value
Type |
Description |
System.nfloat |
The maximum width.
|
Gets or sets the horizontal offset of the tooltip.
Declaration
public nfloat OffsetX { get; set; }
Property Value
Gets or sets the vertical offset of the tooltip.
Declaration
public nfloat OffsetY { get; set; }
Property Value
Gets or sets the position of the tooltip.
Declaration
public SFChartElementPosition Position { get; set; }
Property Value
TextColor
Gets or sets the color for the text of the tooltip.
Declaration
public UIColor TextColor { get; set; }
Property Value
Methods
Declaration
public virtual void DrawRect(CGRect rect)
Parameters
Type |
Name |
Description |
CoreGraphics.CGRect |
rect |
|
Declaration
public virtual UIView GetView(SFChartTooltip tooltipView)
Parameters
Returns
Declaration
public virtual void Hide(bool animated)
Parameters
Type |
Name |
Description |
System.Boolean |
animated |
|
Declaration
public virtual void Show(CGPoint point, bool animated)
Parameters
Type |
Name |
Description |
CoreGraphics.CGPoint |
point |
|
System.Boolean |
animated |
|
Declaration
public virtual void Show(CGPoint point, UIView view, bool animated)
Parameters
Type |
Name |
Description |
CoreGraphics.CGPoint |
point |
|
UIKit.UIView |
view |
|
System.Boolean |
animated |
|
Declaration
public virtual void TapWithGestureRecognizer(UITapGestureRecognizer tapGestureRecognizer)
Parameters
Type |
Name |
Description |
UIKit.UITapGestureRecognizer |
tapGestureRecognizer |
|