Xamarin.Forms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ChartLegendItem

    Show / Hide Table of Contents

    Class ChartLegendItem

    Represents the chart legend item.

    Inheritance
    System.Object
    ChartLegendItem
    Namespace: Syncfusion.MacOS.Charts.SfChart
    Assembly: Syncfusion.SfChart.XForms.macOS.dll
    Syntax
    public class ChartLegendItem : Object

    Constructors

    ChartLegendItem()

    Declaration
    public ChartLegendItem()

    ChartLegendItem(SFSeries, String)

    Declaration
    public ChartLegendItem(SFSeries series, string label)
    Parameters
    Type Name Description
    SFSeries series
    System.String label

    Properties

    DataPoint

    Returns the corresponding data point for accumulation series

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

    IconColor

    Gets or sets the corresponding icon color for legend item.

    Declaration
    public NSColor IconColor { get; set; }
    Property Value
    Type Description
    AppKit.NSColor

    Index

    Returns the corresponding legend index

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

    Label

    Gets or sets the corresponding label for legend item.

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

    LabelStyle

    Gets or sets the corresponding label for legend item.

    Declaration
    public SFLegendLabelStyle LabelStyle { get; set; }
    Property Value
    Type Description
    SFLegendLabelStyle

    Series

    Returns the corresponding series for legend item

    Declaration
    public SFSeries Series { get; }
    Property Value
    Type Description
    SFSeries

    View

    Gets or set the view of chart legend.

    Declaration
    public NSView View { get; set; }
    Property Value
    Type Description
    AppKit.NSView
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved