Blazor

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

    Show / Hide Table of Contents

    Class BulletChartLegendSettingsModel

    Interface for a class BulletChartLegendSettings

    Inheritance
    System.Object
    BulletChartLegendSettingsModel
    Implements
    System.IEquatable<BulletChartLegendSettingsModel>
    Namespace: Syncfusion.Blazor.Charts
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class BulletChartLegendSettingsModel : Object, IEquatable<BulletChartLegendSettingsModel>

    Constructors

    BulletChartLegendSettingsModel()

    Declaration
    public BulletChartLegendSettingsModel()

    Properties

    Alignment

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

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

    Background

    The background color of the bullet chart 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

    Options to customize the border of the bullet chart legend.

    Declaration
    public BorderModel Border { get; set; }
    Property Value
    Type Description
    BorderModel

    Location

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

    Declaration
    public LocationModel Location { get; set; }
    Property Value
    Type Description
    LocationModel

    Margin

    Options to customize left, right, top and bottom margins of the bullet chart.

    Declaration
    public MarginModel Margin { get; set; }
    Property Value
    Type Description
    MarginModel

    Opacity

    Opacity of the bullet chart legend.

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

    Padding

    Option to customize the padding between legend items.

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

    Position

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

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

    ShapeHeight

    Shape height of the bullet chart legend in pixels.

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

    ShapePadding

    Padding between the bullet chart legend shape and text.

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

    ShapeWidth

    Shape width of the bullet chart legend in pixels.

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

    TabIndex

    TabIndex value for the bullet chart legend.

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

    TextStyle

    Options to customize the bullet chart legend text.

    Declaration
    public BulletLabelStyleModel TextStyle { get; set; }
    Property Value
    Type Description
    BulletLabelStyleModel

    Visible

    If set to true, legend will be visible.

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

    Methods

    Equals(BulletChartLegendSettingsModel)

    Returns boolean value by comparing bulletChartLegendSettingsModel

    Declaration
    public bool Equals(BulletChartLegendSettingsModel bulletChartLegendSettingsModel)
    Parameters
    Type Name Description
    BulletChartLegendSettingsModel bulletChartLegendSettingsModel
    Returns
    Type Description
    System.Boolean

    Implements

    System.IEquatable<>
    Back to top Generated by DocFX
    Copyright © 2001 - 2021 Syncfusion Inc. All Rights Reserved