menu

Xamarin.Forms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ChartDataMarkerLabel - Xamarin.Forms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class ChartDataMarkerLabel

    ChartDataMarkerLabel is used to customize the appearance of data marker and label.

    Inheritance
    System.Object
    ChartDataMarkerLabel
    Implements
    System.ComponentModel.INotifyPropertyChanged
    Namespace: Syncfusion.SfChart.XForms
    Assembly: Syncfusion.SfChart.XForms.dll
    Syntax
    public class ChartDataMarkerLabel : Object, INotifyPropertyChanged

    Constructors

    ChartDataMarkerLabel()

    Initializes a new instance of the ChartDataMarkerLabel class.

    Declaration
    public ChartDataMarkerLabel()

    Properties

    BackgroundColor

    Returns the background color of the data marker label.

    Declaration
    public Color BackgroundColor { get; }
    Property Value
    Type
    Xamarin.Forms.Color

    Data

    Gets the underlying data of data marker label.

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

    GrandTotal

    Gets the sum value of all data.

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

    Index

    Returns the index of the label.

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

    Label

    Gets or sets the label.

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

    LabelStyle

    Gets or sets the label style to customize the apperance of data marker label.

    Declaration
    public DataMarkerLabelStyle LabelStyle { get; set; }
    Property Value
    Type
    DataMarkerLabelStyle

    MarkerBorderColor

    Gets or sets the color of the marker border.

    Declaration
    public Color MarkerBorderColor { get; set; }
    Property Value
    Type
    Xamarin.Forms.Color

    MarkerBorderWidth

    Gets or sets the width of the marker border.

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

    MarkerColor

    Gets or sets the color of the marker.

    Declaration
    public Color MarkerColor { get; set; }
    Property Value
    Type
    Xamarin.Forms.Color

    MarkerHeight

    Gets or sets the height of the marker.

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

    MarkerType

    Gets or sets the type of the marker.

    Declaration
    public DataMarkerType MarkerType { get; set; }
    Property Value
    Type
    DataMarkerType

    MarkerWidth

    Gets or sets the width of the marker.

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

    XPosition

    Returns the x-position of the data marker label.

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

    YPosition

    Returns the y-position of the data marker label.

    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