alexa
Syncfusion
menu Syncfusion

MAUI

  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Search Results for

    Show / Hide Table of Contents

    Class ChartDataLabel

    ChartDataLabel is used to customize the appearance of the data label.

    Inheritance
    object
    ChartDataLabel
    Implements
    INotifyPropertyChanged
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Syncfusion.Maui.Charts
    Assembly: Syncfusion.Maui.Charts.dll
    Syntax
    public class ChartDataLabel : INotifyPropertyChanged

    Constructors

    ChartDataLabel()

    Initializes a new instance of the ChartDataLabel class.

    Declaration
    public ChartDataLabel()

    Properties

    Background

    Returns the background color of the data label.

    Declaration
    public Brush Background { get; }
    Property Value
    Type
    Brush

    Index

    Returns the index of the data label.

    Declaration
    public int Index { get; }
    Property Value
    Type
    int

    Item

    Gets the underlying item of the data label.

    Declaration
    public object? Item { get; }
    Property Value
    Type
    object

    Label

    Gets or sets the data label content.

    Declaration
    public string Label { get; set; }
    Property Value
    Type
    string

    XPosition

    Returns the x-position of data label placement.

    Declaration
    public double XPosition { get; }
    Property Value
    Type
    double

    YPosition

    Returns the y-position of data label placement.

    Declaration
    public double YPosition { get; }
    Property Value
    Type
    double

    Events

    PropertyChanged

    Declaration
    public event PropertyChangedEventHandler? PropertyChanged
    Event Type
    Type
    PropertyChangedEventHandler

    Implements

    INotifyPropertyChanged
    In this article
    Back to top Generated by DocFX
    Copyright © 2001 - 2026 Syncfusion Inc. All Rights Reserved