menu

Xamarin.Android

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

    Show / Hide Table of Contents

    Class SunburstChartLegend

    Represents legend for SunburstChart.

    Inheritance
    System.Object
    SunburstChartLegend
    Namespace: Syncfusion.SfSunburstChart.Android
    Assembly: Syncfusion.SfSunburstChart.Android.dll
    Syntax
    public class SunburstChartLegend : Object

    Constructors

    SunburstChartLegend(Context, SfSunburstChart)

    Initializes a new instance of the SunburstChartLegend class.

    Declaration
    public SunburstChartLegend(Context context, SfSunburstChart chart)
    Parameters
    Type Name Description
    Android.Content.Context context

    To get the context

    SfSunburstChart chart

    To get the chart

    Properties

    Background

    Gets or sets the background color for legend view.

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

    IconHeight

    Gets or sets the height of the legend icon.

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

    IconType

    Gets or sets the legend icon type.

    Declaration
    public SunburstLegendIcon IconType { get; set; }
    Property Value
    Type
    SunburstLegendIcon

    IconWidth

    Gets or sets the width of the legend icon.

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

    IsVisible

    Gets or sets a value indicating whether legend is visible or not.

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

    ItemMargin

    Gets or sets Thickness which is used to align title text.

    Declaration
    public Thickness ItemMargin { get; set; }
    Property Value
    Type
    Thickness

    LabelStyle

    Gets custom style for the legend items.

    Declaration
    public SunburstChartLegendLabelStyle LabelStyle { get; }
    Property Value
    Type
    SunburstChartLegendLabelStyle

    LegendPosition

    Gets or sets LegendPosition which indicates the legend placement in chart layout.

    Declaration
    public SunburstDockPosition LegendPosition { get; set; }
    Property Value
    Type
    SunburstDockPosition

    Methods

    GetView()

    Gets the view.

    Declaration
    protected View GetView()
    Returns
    Type Description
    Android.Views.View

    Returns the layout

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