Blazor

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class PivotChartSettingsLegendSettingsModel - Blazor API Reference | Syncfusion

    Show / Hide Table of Contents

    Class PivotChartSettingsLegendSettingsModel

    Interface for a class PivotChartSettingsLegendSettings

    Inheritance
    System.Object
    PivotChartSettingsLegendSettingsModel
    Namespace: Syncfusion.Blazor.PivotView
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class PivotChartSettingsLegendSettingsModel : Object

    Constructors

    PivotChartSettingsLegendSettingsModel()

    Declaration
    public PivotChartSettingsLegendSettingsModel()

    Properties

    Alignment

    Allows to set the legend in chart can be aligned as follows: Near: Aligns the legend to the left of the chart. Center: Aligns the legend to the center of the chart. Far: Aligns the legend to the right of the chart.

    Declaration
    public PivotChartAlignment Alignment { get; set; }
    Property Value
    Type Description
    PivotChartAlignment

    Background

    Allows to set the background color of the legend that accepts value in hex and rgba as a valid CSS color string.

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

    Border

    Allows options to customize the border of the legend.

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

    Description

    Allows to set the description for legends.

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

    Height

    Allows to set the height of the legend in pixels.

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

    Location

    Allows to set the location of the legend, relative to the chart. If x is 20, legend moves by 20 pixels to the right of the chart. It requires the position to be Custom.

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

    Margin

    Allows options to customize left, right, top and bottom margins of the chart.

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

    Opacity

    Allows to set the opacity of the legend.

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

    Padding

    Allows option to customize the padding between legend items.

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

    Position

    Allows to set the position of the legend in the chart are, Auto: Places the legend based on area type. Top: Displays the legend at the top of the chart. Left: Displays the legend at the left of the chart. Bottom: Displays the legend at the bottom of the chart. Right: Displays the legend at the right of the chart. Custom: Displays the legend based on the given x and y values.

    Declaration
    public PivotChartLegendPosition Position { get; set; }
    Property Value
    Type Description
    PivotChartLegendPosition

    ShapeHeight

    Allows to set the shape height of the legend in pixels.

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

    ShapePadding

    Allows to set the padding between the legend shape and text.

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

    ShapeWidth

    Allows to set the shape width of the legend in pixels.

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

    TabIndex

    Allows to set the tabindex value for the legend.

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

    TextStyle

    Allows options to customize the legend text.

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

    ToggleVisibility

    If set to true, series' visibility collapses based on the legend visibility.

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

    Visible

    If set to true, legend will be visible.

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

    Width

    Allows to set the width of the legend in pixels.

    Declaration
    public string Width { get; set; }
    Property Value
    Type Description
    System.String
    Back to top Generated by DocFX
    Copyright © 2001 - 2021 Syncfusion Inc. All Rights Reserved