menu

ASP.NET Core - EJ2

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class BulletChartBulletChartLegendSettingsBuilder - ASP.NETCore-EJ2 API Reference | Syncfusion

    Show / Hide Table of Contents

    Class BulletChartBulletChartLegendSettingsBuilder

    Inheritance
    System.Object
    Syncfusion.EJ2.ControlBuilder
    BulletChartBulletChartLegendSettingsBuilder
    Namespace: Syncfusion.EJ2.Charts
    Assembly: Syncfusion.EJ2.dll
    Syntax
    public class BulletChartBulletChartLegendSettingsBuilder : ControlBuilder

    Constructors

    BulletChartBulletChartLegendSettingsBuilder()

    Declaration
    public BulletChartBulletChartLegendSettingsBuilder()

    BulletChartBulletChartLegendSettingsBuilder(BulletChartBulletChartLegendSettings)

    Declaration
    public BulletChartBulletChartLegendSettingsBuilder(BulletChartBulletChartLegendSettings model)
    Parameters
    Type Name Description
    BulletChartBulletChartLegendSettings model

    Methods

    Alignment(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 BulletChartBulletChartLegendSettingsBuilder Alignment(Alignment value)
    Parameters
    Type Name Description
    Alignment value
    Returns
    Type
    BulletChartBulletChartLegendSettingsBuilder

    Background(String)

    The background color of the bullet chart legend that accepts value in hex and rgba as a valid CSS color string.

    Declaration
    public BulletChartBulletChartLegendSettingsBuilder Background(string value)
    Parameters
    Type Name Description
    System.String value
    Returns
    Type
    BulletChartBulletChartLegendSettingsBuilder

    Border(BulletChartBorder)

    Options to customize the border of the bullet chart legend.

    Declaration
    public BulletChartBulletChartLegendSettingsBuilder Border(BulletChartBorder value)
    Parameters
    Type Name Description
    BulletChartBorder value
    Returns
    Type
    BulletChartBulletChartLegendSettingsBuilder

    Border(Action<BulletChartBorderBuilder>)

    Declaration
    public BulletChartBulletChartLegendSettingsBuilder Border(Action<BulletChartBorderBuilder> border)
    Parameters
    Type Name Description
    System.Action<BulletChartBorderBuilder> border
    Returns
    Type
    BulletChartBulletChartLegendSettingsBuilder

    Location(BulletChartLocation)

    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 BulletChartBulletChartLegendSettingsBuilder Location(BulletChartLocation value)
    Parameters
    Type Name Description
    BulletChartLocation value
    Returns
    Type
    BulletChartBulletChartLegendSettingsBuilder

    Location(Action<BulletChartLocationBuilder>)

    Declaration
    public BulletChartBulletChartLegendSettingsBuilder Location(Action<BulletChartLocationBuilder> location)
    Parameters
    Type Name Description
    System.Action<BulletChartLocationBuilder> location
    Returns
    Type
    BulletChartBulletChartLegendSettingsBuilder

    Margin(Object)

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

    Declaration
    public BulletChartBulletChartLegendSettingsBuilder Margin(object value)
    Parameters
    Type Name Description
    System.Object value
    Returns
    Type
    BulletChartBulletChartLegendSettingsBuilder

    Opacity(Double)

    Opacity of the bullet chart legend.

    Declaration
    public BulletChartBulletChartLegendSettingsBuilder Opacity(double value)
    Parameters
    Type Name Description
    System.Double value
    Returns
    Type
    BulletChartBulletChartLegendSettingsBuilder

    Padding(Double)

    Option to customize the padding between legend items.

    Declaration
    public BulletChartBulletChartLegendSettingsBuilder Padding(double value)
    Parameters
    Type Name Description
    System.Double value
    Returns
    Type
    BulletChartBulletChartLegendSettingsBuilder

    Position(LegendPosition)

    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 BulletChartBulletChartLegendSettingsBuilder Position(LegendPosition value)
    Parameters
    Type Name Description
    LegendPosition value
    Returns
    Type
    BulletChartBulletChartLegendSettingsBuilder

    ShapeHeight(Double)

    Shape height of the bullet chart legend in pixels.

    Declaration
    public BulletChartBulletChartLegendSettingsBuilder ShapeHeight(double value)
    Parameters
    Type Name Description
    System.Double value
    Returns
    Type
    BulletChartBulletChartLegendSettingsBuilder

    ShapePadding(Double)

    Padding between the bullet chart legend shape and text.

    Declaration
    public BulletChartBulletChartLegendSettingsBuilder ShapePadding(double value)
    Parameters
    Type Name Description
    System.Double value
    Returns
    Type
    BulletChartBulletChartLegendSettingsBuilder

    ShapeWidth(Double)

    Shape width of the bullet chart legend in pixels.

    Declaration
    public BulletChartBulletChartLegendSettingsBuilder ShapeWidth(double value)
    Parameters
    Type Name Description
    System.Double value
    Returns
    Type
    BulletChartBulletChartLegendSettingsBuilder

    TabIndex(Double)

    TabIndex value for the bullet chart legend.

    Declaration
    public BulletChartBulletChartLegendSettingsBuilder TabIndex(double value)
    Parameters
    Type Name Description
    System.Double value
    Returns
    Type
    BulletChartBulletChartLegendSettingsBuilder

    TextStyle(BulletChartLegendTextStyle)

    Options to customize the bullet chart legend text.

    Declaration
    public BulletChartBulletChartLegendSettingsBuilder TextStyle(BulletChartLegendTextStyle value)
    Parameters
    Type Name Description
    BulletChartLegendTextStyle value
    Returns
    Type
    BulletChartBulletChartLegendSettingsBuilder

    TextStyle(Action<BulletChartBulletLabelStyleBuilder>)

    Declaration
    public BulletChartBulletChartLegendSettingsBuilder TextStyle(Action<BulletChartBulletLabelStyleBuilder> textStyle)
    Parameters
    Type Name Description
    System.Action<BulletChartBulletLabelStyleBuilder> textStyle
    Returns
    Type
    BulletChartBulletChartLegendSettingsBuilder

    Visible(Boolean)

    If set to true, legend will be visible.

    Declaration
    public BulletChartBulletChartLegendSettingsBuilder Visible(bool value)
    Parameters
    Type Name Description
    System.Boolean value
    Returns
    Type
    BulletChartBulletChartLegendSettingsBuilder
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved