Class CircularGaugeLegendSettingsBuilder
Inheritance
System.Object
Syncfusion.EJ2.ControlBuilder
CircularGaugeLegendSettingsBuilder
Assembly: Syncfusion.EJ2.dll
Syntax
public class CircularGaugeLegendSettingsBuilder : ControlBuilder
Constructors
CircularGaugeLegendSettingsBuilder()
Declaration
public CircularGaugeLegendSettingsBuilder()
CircularGaugeLegendSettingsBuilder(CircularGaugeLegendSettings)
Declaration
public CircularGaugeLegendSettingsBuilder(CircularGaugeLegendSettings model)
Parameters
Methods
Alignment(Alignment)
Sets and gets the alignment of the legend in the circular gauge.
Declaration
public CircularGaugeLegendSettingsBuilder Alignment(Alignment value)
Parameters
Returns
Background(String)
Sets and gets the background color of the legend in circular gauge.
Declaration
public CircularGaugeLegendSettingsBuilder Background(string value)
Parameters
Type |
Name |
Description |
System.String |
value |
|
Returns
Border(CircularGaugeBorder)
Sets and gets the options to customize the style properties of the border of the legend.
Declaration
public CircularGaugeLegendSettingsBuilder Border(CircularGaugeBorder value)
Parameters
Returns
Border(Action<CircularGaugeBorderBuilder>)
Declaration
public CircularGaugeLegendSettingsBuilder Border(Action<CircularGaugeBorderBuilder> border)
Parameters
Returns
Height(String)
Sets and gets the height of the legend in the circular gauge.
Declaration
public CircularGaugeLegendSettingsBuilder Height(string value)
Parameters
Type |
Name |
Description |
System.String |
value |
|
Returns
Location(Object)
Sets and gets the location of the legend, relative to the circular gauge.
If x is 20, legend moves by 20 pixels to the right of the gauge. It requires the position
to be Custom
.
Declaration
public CircularGaugeLegendSettingsBuilder Location(object value)
Parameters
Type |
Name |
Description |
System.Object |
value |
|
Returns
Margin(CircularGaugeMargin)
Sets and gets the options to customize the legend margin.
Declaration
public CircularGaugeLegendSettingsBuilder Margin(CircularGaugeMargin value)
Parameters
Returns
Margin(Action<CircularGaugeMarginBuilder>)
Declaration
public CircularGaugeLegendSettingsBuilder Margin(Action<CircularGaugeMarginBuilder> margin)
Parameters
Returns
Opacity(Double)
Sets and gets the opacity of the legend.
Declaration
public CircularGaugeLegendSettingsBuilder Opacity(double value)
Parameters
Type |
Name |
Description |
System.Double |
value |
|
Returns
Padding(Double)
Sets and gets the options to customize the padding between legend items.
Declaration
public CircularGaugeLegendSettingsBuilder Padding(double value)
Parameters
Type |
Name |
Description |
System.Double |
value |
|
Returns
Position(LegendPosition)
Sets and gets the position of the legend in the circular gauge.
Declaration
public CircularGaugeLegendSettingsBuilder Position(LegendPosition value)
Parameters
Returns
Shape(GaugeShape)
Sets and gets the shape of the legend in circular gauge.
Declaration
public CircularGaugeLegendSettingsBuilder Shape(GaugeShape value)
Parameters
Returns
ShapeBorder(CircularGaugeBorder)
Sets and gets the options to customize the style properties of the border for the shape of the legend in the circular gauge.
Declaration
public CircularGaugeLegendSettingsBuilder ShapeBorder(CircularGaugeBorder value)
Parameters
Returns
ShapeBorder(Action<CircularGaugeBorderBuilder>)
Declaration
public CircularGaugeLegendSettingsBuilder ShapeBorder(Action<CircularGaugeBorderBuilder> shapeBorder)
Parameters
Returns
ShapeHeight(Double)
Sets and gets the height of the legend shape in circular gauge.
Declaration
public CircularGaugeLegendSettingsBuilder ShapeHeight(double value)
Parameters
Type |
Name |
Description |
System.Double |
value |
|
Returns
ShapePadding(Double)
Sets and gets the padding for the legend shape in circular gauge.
Declaration
public CircularGaugeLegendSettingsBuilder ShapePadding(double value)
Parameters
Type |
Name |
Description |
System.Double |
value |
|
Returns
ShapeWidth(Double)
Sets and gets the width of the legend shape in circular gauge.
Declaration
public CircularGaugeLegendSettingsBuilder ShapeWidth(double value)
Parameters
Type |
Name |
Description |
System.Double |
value |
|
Returns
TextStyle(CircularGaugeFont)
Sets and gets the options to customize the text of the legend item.
Declaration
public CircularGaugeLegendSettingsBuilder TextStyle(CircularGaugeFont value)
Parameters
Returns
TextStyle(Action<CircularGaugeFontBuilder>)
Declaration
public CircularGaugeLegendSettingsBuilder TextStyle(Action<CircularGaugeFontBuilder> textStyle)
Parameters
Returns
ToggleVisibility(Boolean)
Enables and disables the visibility of the ranges. When the legend is clicked, the visibility of the legend will be toggled.
Declaration
public CircularGaugeLegendSettingsBuilder ToggleVisibility(bool value)
Parameters
Type |
Name |
Description |
System.Boolean |
value |
|
Returns
Visible(Boolean)
Enable and disables the visibility of the legend in circular gauge.
Declaration
public CircularGaugeLegendSettingsBuilder Visible(bool value)
Parameters
Type |
Name |
Description |
System.Boolean |
value |
|
Returns
Width(String)
Sets and gets the width of the legend in the circular gauge.
Declaration
public CircularGaugeLegendSettingsBuilder Width(string value)
Parameters
Type |
Name |
Description |
System.String |
value |
|
Returns