Class ChartTooltip
ChartTooltip is often used to specify extra information when the mouse pointer moved over an element.
Inheritance
System.Object
ChartTooltip
Namespace: Syncfusion.Windows.Forms.Chart
Assembly: Syncfusion.Chart.Windows.dll
Syntax
public class ChartTooltip : Object
Constructors
ChartTooltip(ChartControl)
Initializes a new instance of the ChartTooltip class using the specified chart control's tooltip settings.
Declaration
public ChartTooltip(ChartControl chart)
Parameters
| Type | Name | Description |
|---|---|---|
| ChartControl | chart |
Properties
BackgroundColor
Gets or sets the background color for the chart tooltip.
Declaration
public BrushInfo BackgroundColor { get; set; }
Property Value
| Type |
|---|
| BrushInfo |
BackgroundImage
Gets or sets the background image for the chart tooltip.
Declaration
public Image BackgroundImage { get; set; }
Property Value
| Type |
|---|
| System.Drawing.Image |
BorderStyle
Gets or sets the border style for the chart tooltip.
Declaration
public BorderStyle BorderStyle { get; set; }
Property Value
| Type |
|---|
| System.Windows.Forms.BorderStyle |
Font
Gets or sets the Font used to render the chart tooltip text.
Declaration
public Font Font { get; set; }
Property Value
| Type |
|---|
| System.Drawing.Font |
ForeColor
Gets or sets the foreground color for the chart tooltip.
Declaration
public Color ForeColor { get; set; }
Property Value
| Type |
|---|
| System.Drawing.Color |
Padding
Gets or sets the padding for the chart tooltip.
Declaration
public Padding Padding { get; set; }
Property Value
| Type |
|---|
| System.Windows.Forms.Padding |