menu

ASP.NET MVC - EJ2

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class BulletChartBulletChartLegendSettings - API Reference

    Show / Hide Table of Contents

    Class BulletChartBulletChartLegendSettings

    Inheritance
    System.Object
    TagHelper
    EJTagHelper
    BulletChartBulletChartLegendSettings
    Inherited Members
    EJTagHelper.GetList()
    EJTagHelper.GetSerializedProperties()
    EJTagHelper.GetScriptString()
    EJTagHelper.GetHtmlAttrString(IDictionary<String, Object>)
    EJTagHelper.TagName
    EJTagHelper.Id
    EJTagHelper.NameSpace
    EJTagHelper.ClassName
    EJTagHelper.IsFor
    EJTagHelper.IsChild
    EJTagHelper.IsComplex
    EJTagHelper.IsCollection
    EJTagHelper.ParentPropertyName
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Syncfusion.EJ2.Charts
    Assembly: Syncfusion.EJ2.dll
    Syntax
    public class BulletChartBulletChartLegendSettings : EJTagHelper

    Constructors

    BulletChartBulletChartLegendSettings()

    Declaration
    public BulletChartBulletChartLegendSettings()

    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
    [HtmlAttributeName("alignment")]
    public Alignment Alignment { get; set; }
    Property Value
    Type Description
    Alignment

    The default value is Syncfusion.EJ2.Charts.Alignment.Center

    Background

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

    Declaration
    [HtmlAttributeName("background")]
    public string Background { get; set; }
    Property Value
    Type Description
    System.String

    The default value is "transparent"

    Border

    Options to customize the border of the bullet chart legend.

    Declaration
    [HtmlAttributeName("border")]
    public BulletChartBorder Border { get; set; }
    Property Value
    Type Description
    BulletChartBorder

    The default value is null

    ContentTemplate

    To get or set value for ContentTemplate.

    Declaration
    public MvcTemplate<object> ContentTemplate { get; set; }
    Property Value
    Type Description
    MvcTemplate<System.Object>

    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
    [HtmlAttributeName("location")]
    public BulletChartLocation Location { get; set; }
    Property Value
    Type Description
    BulletChartLocation

    The default value is null

    Margin

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

    Declaration
    [HtmlAttributeName("margin")]
    public object Margin { get; set; }
    Property Value
    Type Description
    System.Object

    The default value is null

    Opacity

    Opacity of the bullet chart legend.

    Declaration
    [HtmlAttributeName("opacity")]
    public double Opacity { get; set; }
    Property Value
    Type Description
    System.Double

    The default value is 1

    Padding

    Option to customize the padding between legend items.

    Declaration
    [HtmlAttributeName("padding")]
    public double Padding { get; set; }
    Property Value
    Type Description
    System.Double

    The default value is 8

    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
    [HtmlAttributeName("position")]
    public LegendPosition Position { get; set; }
    Property Value
    Type Description
    LegendPosition

    The default value is LegendPosition.Auto

    ShapeHeight

    Shape height of the bullet chart legend in pixels.

    Declaration
    [HtmlAttributeName("shapeHeight")]
    public double ShapeHeight { get; set; }
    Property Value
    Type Description
    System.Double

    The default value is 10

    ShapePadding

    Padding between the bullet chart legend shape and text.

    Declaration
    [HtmlAttributeName("shapePadding")]
    public double ShapePadding { get; set; }
    Property Value
    Type Description
    System.Double

    The default value is 5

    ShapeWidth

    Shape width of the bullet chart legend in pixels.

    Declaration
    [HtmlAttributeName("shapeWidth")]
    public double ShapeWidth { get; set; }
    Property Value
    Type Description
    System.Double

    The default value is 10

    TabIndex

    TabIndex value for the bullet chart legend.

    Declaration
    [HtmlAttributeName("tabIndex")]
    public double TabIndex { get; set; }
    Property Value
    Type Description
    System.Double

    The default value is 3

    TextStyle

    Options to customize the bullet chart legend text.

    Declaration
    [HtmlAttributeName("textStyle")]
    public BulletChartLegendTextStyle TextStyle { get; set; }
    Property Value
    Type Description
    BulletChartLegendTextStyle

    The default value is null

    Visible

    If set to true, legend will be visible.

    Declaration
    [HtmlAttributeName("visible")]
    public bool Visible { get; set; }
    Property Value
    Type Description
    System.Boolean

    The default value is false

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