menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class TemplateData - Blazor API Reference | Syncfusion

    Show / Hide Table of Contents

    Class TemplateData

    Represents the data template for chart points.

    Inheritance
    System.Object
    TemplateData
    Point
    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.

    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved