Class TemplateData
Represents the data template for chart points.
Namespace: Syncfusion.Blazor.Charts
Assembly: Syncfusion.Blazor.dll
Syntax
public class TemplateData : Object
Constructors
TemplateData()
Declaration
public TemplateData()
Properties
Text
Gets or sets the text associated with the chart point.
Declaration
public string Text { get; set; }
Property Value
Type | Description |
---|---|
System.String | Accepts the value as a string. The default value is null. |
Remarks
This property is used to display additional information for the chart point.
X
Gets or sets the x value for the chart point.
Declaration
public object X { get; set; }
Property Value
Type | Description |
---|---|
System.Object | Accepts the value as an object. The default value is null. |
Remarks
This property defines the horizontal position of the chart point within the chart.
Y
Gets or sets the y value for the chart point.
Declaration
public object Y { get; set; }
Property Value
Type | Description |
---|---|
System.Object | Accepts the value as an object. The default value is null. |
Remarks
This property defines the vertical position of the chart point within the chart.