Class TooltipRenderEventArgs
Specifies the event arguments available for the tooltip render events in the chart component.
Inheritance
Namespace: Syncfusion.Blazor.Charts
Assembly: Syncfusion.Blazor.dll
Syntax
public class TooltipRenderEventArgs : BaseEventArgs
Properties
Data
Defines the point information.
Declaration
public PointInfo Data { get; }
Property Value
Remarks
This read-only property gives information on the data point for which the tooltip is being rendered.
HeaderText
Gets or sets the header text for the tooltip.
Declaration
public string HeaderText { get; set; }
Property Value
Type | Description |
---|---|
System.String | Accepts the string value. |
Remarks
Use this property to display additional context or the name of the series in the tooltip.
Point
Defines current tooltip point.
Declaration
public object Point { get; }
Property Value
Type | Description |
---|---|
System.Object | An object representing the current tooltip point. |
Remarks
This read-only property provides the data point the tooltip is currently being shown for.
Series
Defines current tooltip series.
Declaration
public object Series { get; }
Property Value
Type | Description |
---|---|
System.Object | An object representing the current tooltip series. |
Remarks
This read-only property provides the chart series the tooltip is associated with.
Text
Gets or sets the tooltip text collections.
Declaration
public string Text { get; set; }
Property Value
Type | Description |
---|---|
System.String | Accepts the string value. |
Remarks
Customize or access this property to alter the text displayed in the tooltip.
TextStyle
Gets or sets the tooltip text style.
Declaration
public ChartDefaultFont TextStyle { get; set; }
Property Value
Type | Description |
---|---|
ChartDefaultFont | The ChartDefaultFont object describing the text style. |
Remarks
Use this property to modify the font family, size, and other attributes of tooltip text.