menu

Xamarin.Forms

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

    Show / Hide Table of Contents

    Class DataMarkerLabelStyle

    This class is used to customize the appearance of ChartDataMarker label style.

    Inheritance
    System.Object
    ChartLabelStyle
    DataMarkerLabelStyle
    Inherited Members
    ChartLabelStyle.BackgroundColor
    ChartLabelStyle.BackgroundColorProperty
    ChartLabelStyle.BorderColor
    ChartLabelStyle.BorderColorProperty
    ChartLabelStyle.BorderThickness
    ChartLabelStyle.BorderThicknessProperty
    ChartLabelStyle.Font
    ChartLabelStyle.FontAttributes
    ChartLabelStyle.FontAttributesProperty
    ChartLabelStyle.FontFamily
    ChartLabelStyle.FontFamilyProperty
    ChartLabelStyle.FontProperty
    ChartLabelStyle.FontSize
    ChartLabelStyle.FontSizeProperty
    ChartLabelStyle.LabelFormat
    ChartLabelStyle.LabelFormatProperty
    ChartLabelStyle.Margin
    ChartLabelStyle.MarginProperty
    ChartLabelStyle.TextColor
    ChartLabelStyle.TextColorProperty
    Namespace: Syncfusion.SfChart.XForms
    Assembly: Syncfusion.SfChart.XForms.dll
    Syntax
    public class DataMarkerLabelStyle : ChartLabelStyle, IThemeElement

    Constructors

    DataMarkerLabelStyle()

    Initializes a new instance of the DataMarkerLabelStyle class.

    Declaration
    public DataMarkerLabelStyle()

    Fields

    AngleProperty

    Gets or sets the rotation angle for the data marker label. This is a bindable property.

    Declaration
    public static readonly BindableProperty AngleProperty
    Field Value
    Type
    Xamarin.Forms.BindableProperty

    LabelPaddingProperty

    Gets or sets the padding for the data marker label. This is a bindable property.

    Declaration
    public static readonly BindableProperty LabelPaddingProperty
    Field Value
    Type
    Xamarin.Forms.BindableProperty

    LabelPositionProperty

    Gets or sets the position of the data marker label. This is a bindable property.

    Declaration
    public static readonly BindableProperty LabelPositionProperty
    Field Value
    Type
    Xamarin.Forms.BindableProperty

    OffsetXProperty

    Gets or sets the horizontal offset for the data marker label. This is a bindable property.

    Declaration
    public static readonly BindableProperty OffsetXProperty
    Field Value
    Type
    Xamarin.Forms.BindableProperty

    OffsetYProperty

    Gets or sets the vertical offset for the data marker label. This is a bindable property.

    Declaration
    public static readonly BindableProperty OffsetYProperty
    Field Value
    Type
    Xamarin.Forms.BindableProperty

    Properties

    Angle

    Gets or sets the rotation angle for the data marker label. This is a bindable property.

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

    This property takes the double value.

    LabelPadding

    Gets or sets the padding for the data marker label. This is a bindable property.

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

    This property takes the double value.

    LabelPosition

    Gets or sets the position of the data marker label. This is a bindable property.

    Declaration
    public DataMarkerLabelPosition LabelPosition { get; set; }
    Property Value
    Type Description
    DataMarkerLabelPosition

    This property takes the int value.

    OffsetX

    Gets or sets the horizontal offset for the data marker label. This is a bindable property.

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

    This property takes the double value.

    OffsetY

    Gets or sets the vertical offset for the data marker label. This is a bindable property.

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

    This property takes the double value.

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