Class SmithchartSmithchartLegendSettings
Inherited Members
Namespace: Syncfusion.EJ2.Charts
Assembly: Syncfusion.EJ2.dll
Syntax
public class SmithchartSmithchartLegendSettings : EJTagHelper
Constructors
SmithchartSmithchartLegendSettings()
Declaration
public SmithchartSmithchartLegendSettings()
Properties
Alignment
alignment for legend.
Declaration
[HtmlAttributeName("alignment")]
public SmithchartAlignment Alignment { get; set; }
Property Value
Type | Description |
---|---|
SmithchartAlignment | The default value is SmithchartAlignment.Center |
Border
options for customizing legend border.
Declaration
[HtmlAttributeName("border")]
public SmithchartLegendBorder Border { get; set; }
Property Value
Type | Description |
---|---|
SmithchartLegendBorder | The default value is null |
ColumnCount
columnCount for legend.
Declaration
[HtmlAttributeName("columnCount")]
public double ColumnCount { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The default value is Double.NaN |
ContentTemplate
To get or set value for ContentTemplate.
Declaration
public MvcTemplate<object> ContentTemplate { get; set; }
Property Value
Type | Description |
---|---|
MvcTemplate<System.Object> |
Description
description for legend
Declaration
[HtmlAttributeName("description")]
public string Description { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is "" |
Height
height for legend.
Declaration
[HtmlAttributeName("height")]
public double Height { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The default value is Double.NaN |
ItemPadding
spacing between legend item.
Declaration
[HtmlAttributeName("itemPadding")]
public double ItemPadding { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The default value is 8 |
ItemStyle
options for customizing legend item style.
Declaration
[HtmlAttributeName("itemStyle")]
public SmithchartLegendItemStyle ItemStyle { get; set; }
Property Value
Type | Description |
---|---|
SmithchartLegendItemStyle | The default value is null |
Location
options for customizing legend location.
Declaration
[HtmlAttributeName("location")]
public SmithchartLegendLocation Location { get; set; }
Property Value
Type | Description |
---|---|
SmithchartLegendLocation | The default value is null |
Position
position for legend.
Declaration
[HtmlAttributeName("position")]
public string Position { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is "bottom" |
RowCount
rowCount for legend.
Declaration
[HtmlAttributeName("rowCount")]
public double RowCount { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The default value is Double.NaN |
Shape
shape for legend.
Declaration
[HtmlAttributeName("shape")]
public string Shape { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is "circle" |
ShapePadding
Padding between the legend shape and text.
Declaration
[HtmlAttributeName("shapePadding")]
public double ShapePadding { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The default value is 5 |
TextStyle
options for customizing font.
Declaration
[HtmlAttributeName("textStyle")]
public object TextStyle { get; set; }
Property Value
Type | Description |
---|---|
System.Object | The default value is null |
Title
options for customizing legend title.
Declaration
[HtmlAttributeName("title")]
public SmithchartLegendTitle Title { get; set; }
Property Value
Type | Description |
---|---|
SmithchartLegendTitle | The default value is null |
ToggleVisibility
If set to true, series' visibility collapses based on the legend visibility.
Declaration
[HtmlAttributeName("toggleVisibility")]
public bool ToggleVisibility { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The default value is true |
Visible
visibility for legend.
Declaration
[HtmlAttributeName("visible")]
public bool Visible { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The default value is false |
Width
width for legend.
Declaration
[HtmlAttributeName("width")]
public double Width { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The default value is Double.NaN |