menu

Xamarin.Android

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

    Show / Hide Table of Contents

    Class ChartLegendItem

    Represents the chart legend item.

    Inheritance
    System.Object
    ChartLegendItem
    Namespace: Com.Syncfusion.Charts
    Assembly: Syncfusion.SfChart.Android.dll
    Syntax
    public class ChartLegendItem : LinearLayout

    Constructors

    ChartLegendItem(Context)

    Declaration
    public ChartLegendItem(Context context)
    Parameters
    Type Name Description
    Android.Content.Context context

    ChartLegendItem(Context, IAttributeSet)

    Declaration
    public ChartLegendItem(Context context, IAttributeSet attribute)
    Parameters
    Type Name Description
    Android.Content.Context context
    Android.Util.IAttributeSet attribute

    ChartLegendItem(IntPtr, JniHandleOwnership)

    Declaration
    public ChartLegendItem(IntPtr javaReference, JniHandleOwnership transfer)
    Parameters
    Type Name Description
    System.IntPtr javaReference
    Android.Runtime.JniHandleOwnership transfer

    Properties

    DataPoint

    Gets the corresponding data point for accumulation series.

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

    IconColor

    Gets or sets the corresponding icon color for legend item.

    Declaration
    public Color IconColor { get; set; }
    Property Value
    Type
    Android.Graphics.Color

    Index

    Gets the corresponding index for legend item.

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

    IsEnabled

    Declaration
    public bool IsEnabled { get; }
    Property Value
    Type
    System.Boolean

    Label

    Gets or sets the corresponding label for legend item.

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

    LabelStyle

    Gets or sets the corresponding label for legend item.

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

    Series

    Gets the corresponding series for legend item.

    Declaration
    public ChartSeries Series { get; }
    Property Value
    Type
    ChartSeries

    View

    Gets or sets the view of chart legend.

    Declaration
    public View View { get; set; }
    Property Value
    Type
    Android.Views.View

    Methods

    OnTouchEvent(MotionEvent)

    Declaration
    public override bool OnTouchEvent(MotionEvent e)
    Parameters
    Type Name Description
    Android.Views.MotionEvent e
    Returns
    Type
    System.Boolean
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved