menu

MAUI

  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ChartDataLabel - MAUI API Reference | Syncfusion

    Show / Hide Table of Contents

    Class ChartDataLabel

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

    Inheritance
    System.Object
    ChartDataLabel
    Implements
    System.ComponentModel.INotifyPropertyChanged
    Namespace: Syncfusion.Maui.Charts
    Assembly: Syncfusion.Maui.Charts.dll
    Syntax
    public class ChartDataLabel : Object, 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
    Microsoft.Maui.Controls.Brush

    Index

    Returns the index of the data label.

    Declaration
    public int Index { get; }
    Property Value
    Type
    System.Int32

    Item

    Gets the underlying item of the data label.

    Declaration
    public object Item { get; }
    Property Value
    Type
    System.Object

    Label

    Gets or sets the data label content.

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

    XPosition

    Returns the x-position of data label placement.

    Declaration
    public double XPosition { get; }
    Property Value
    Type
    System.Double

    YPosition

    Returns the y-position of data label placement.

    Declaration
    public double YPosition { get; }
    Property Value
    Type
    System.Double

    Events

    PropertyChanged

    Declaration
    public event PropertyChangedEventHandler PropertyChanged
    Event Type
    Type
    System.ComponentModel.PropertyChangedEventHandler

    Implements

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