Class CircularChart3DLegendSettingsBuilder
Inheritance
System.Object
Syncfusion.EJ2.ControlBuilder
CircularChart3DLegendSettingsBuilder
Assembly: Syncfusion.EJ2.dll
Syntax
public class CircularChart3DLegendSettingsBuilder : ControlBuilder
Constructors
CircularChart3DLegendSettingsBuilder()
Declaration
public CircularChart3DLegendSettingsBuilder()
CircularChart3DLegendSettingsBuilder(CircularChart3DLegendSettings)
Declaration
public CircularChart3DLegendSettingsBuilder(CircularChart3DLegendSettings model)
Parameters
Methods
Alignment(Alignment)
Legend in chart can be aligned as follows:
Near: Aligns the legend to the left of the chart.
Center: Aligns the legend to the center of the chart.
Far: Aligns the legend to the right of the chart.
Declaration
public CircularChart3DLegendSettingsBuilder Alignment(Alignment value)
Parameters
Returns
Background(String)
The background color of the legend that accepts value in hex and rgba as a valid CSS color string.
Declaration
public CircularChart3DLegendSettingsBuilder Background(string value)
Parameters
Type |
Name |
Description |
System.String |
value |
|
Returns
Border(CircularChart3DBorder)
Options to customize the border of the legend.
Declaration
public CircularChart3DLegendSettingsBuilder Border(CircularChart3DBorder value)
Parameters
Returns
Border(Action<CircularChart3DBorderBuilder>)
Declaration
public CircularChart3DLegendSettingsBuilder Border(Action<CircularChart3DBorderBuilder> border)
Parameters
Returns
ContainerPadding(CircularChart3DContainerPadding)
Options to customize left, right, top and bottom padding for legend container of the chart.
Declaration
public CircularChart3DLegendSettingsBuilder ContainerPadding(CircularChart3DContainerPadding value)
Parameters
Returns
ContainerPadding(Action<CircularChart3DContainerPaddingBuilder>)
Declaration
public CircularChart3DLegendSettingsBuilder ContainerPadding(Action<CircularChart3DContainerPaddingBuilder> containerPadding)
Parameters
Returns
Description(String)
Declaration
public CircularChart3DLegendSettingsBuilder Description(string value)
Parameters
Type |
Name |
Description |
System.String |
value |
|
Returns
EnableHighlight(Boolean)
If set to true, the series get highlighted, while hovering the legend.
Declaration
public CircularChart3DLegendSettingsBuilder EnableHighlight(bool value)
Parameters
Type |
Name |
Description |
System.Boolean |
value |
|
Returns
EnablePages(Boolean)
If set to true, legend will be visible using pages.
Declaration
public CircularChart3DLegendSettingsBuilder EnablePages(bool value)
Parameters
Type |
Name |
Description |
System.Boolean |
value |
|
Returns
Height(String)
The height of the legend in pixels.
Declaration
public CircularChart3DLegendSettingsBuilder Height(string value)
Parameters
Type |
Name |
Description |
System.String |
value |
|
Returns
IsInversed(Boolean)
If isInversed
set to true, then it inverses legend item content (image and text).
Declaration
public CircularChart3DLegendSettingsBuilder IsInversed(bool value)
Parameters
Type |
Name |
Description |
System.Boolean |
value |
|
Returns
ItemPadding(Double)
Option to customize the padding between legend items.
Declaration
public CircularChart3DLegendSettingsBuilder ItemPadding(double value)
Parameters
Type |
Name |
Description |
System.Double |
value |
|
Returns
Location(CircularChart3DLocation)
Specifies the location of the legend, relative to the chart.
If x is 20, legend moves by 20 pixels to the right of the chart. It requires the position
to be Custom
.
Declaration
public CircularChart3DLegendSettingsBuilder Location(CircularChart3DLocation value)
Parameters
Returns
Location(Action<CircularChart3DLocationBuilder>)
Declaration
public CircularChart3DLegendSettingsBuilder Location(Action<CircularChart3DLocationBuilder> location)
Parameters
Returns
Margin(CircularChart3DMargin)
Options to customize left, right, top and bottom margins of the chart.
Declaration
public CircularChart3DLegendSettingsBuilder Margin(CircularChart3DMargin value)
Parameters
Returns
Margin(Action<CircularChart3DMarginBuilder>)
Declaration
public CircularChart3DLegendSettingsBuilder Margin(Action<CircularChart3DMarginBuilder> margin)
Parameters
Returns
MaximumLabelWidth(Double)
Minimum label width for the legend text.
Declaration
public CircularChart3DLegendSettingsBuilder MaximumLabelWidth(double value)
Parameters
Type |
Name |
Description |
System.Double |
value |
|
Returns
MaximumTitleWidth(Double)
Maximum width for the legend title.
Declaration
public CircularChart3DLegendSettingsBuilder MaximumTitleWidth(double value)
Parameters
Type |
Name |
Description |
System.Double |
value |
|
Returns
Opacity(Double)
Declaration
public CircularChart3DLegendSettingsBuilder Opacity(double value)
Parameters
Type |
Name |
Description |
System.Double |
value |
|
Returns
Padding(Double)
Option to customize the padding around the legend items.
Declaration
public CircularChart3DLegendSettingsBuilder Padding(double value)
Parameters
Type |
Name |
Description |
System.Double |
value |
|
Returns
Position(LegendPosition)
Position of the legend in the chart. Available options include:
Auto: Places the legend based on the area type.
Top: Displays the legend at the top of the chart.
Left: Displays the legend at the left of the chart.
Bottom: Displays the legend at the bottom of the chart.
Right: Displays the legend at the right of the chart.
Custom: Displays the legend based on the given x and y values.
Declaration
public CircularChart3DLegendSettingsBuilder Position(LegendPosition value)
Parameters
Returns
Reverse(Boolean)
If reverse
is set to true, it reverses the order of legend items.
Declaration
public CircularChart3DLegendSettingsBuilder Reverse(bool value)
Parameters
Type |
Name |
Description |
System.Boolean |
value |
|
Returns
ShapeHeight(Double)
Shape height of the legend in pixels.
Declaration
public CircularChart3DLegendSettingsBuilder ShapeHeight(double value)
Parameters
Type |
Name |
Description |
System.Double |
value |
|
Returns
ShapePadding(Double)
Padding between the legend shape and text.
Declaration
public CircularChart3DLegendSettingsBuilder ShapePadding(double value)
Parameters
Type |
Name |
Description |
System.Double |
value |
|
Returns
ShapeWidth(Double)
Shape width of the legend in pixels.
Declaration
public CircularChart3DLegendSettingsBuilder ShapeWidth(double value)
Parameters
Type |
Name |
Description |
System.Double |
value |
|
Returns
TabIndex(Double)
TabIndex value for the legend.
Declaration
public CircularChart3DLegendSettingsBuilder TabIndex(double value)
Parameters
Type |
Name |
Description |
System.Double |
value |
|
Returns
TextOverflow(LabelOverflow)
Defines the text overflow behavior to employ when the individual legend text overflows
Clip
: Specifies the text is clipped and not accessible.
Ellipsis
: Specifies an ellipsis (“...”) to the clipped text.
Declaration
public CircularChart3DLegendSettingsBuilder TextOverflow(LabelOverflow value)
Parameters
Returns
TextStyle(CircularChart3DFont)
Options to customize the legend text.
Declaration
public CircularChart3DLegendSettingsBuilder TextStyle(CircularChart3DFont value)
Parameters
Returns
TextStyle(Action<CircularChart3DFontBuilder>)
Declaration
public CircularChart3DLegendSettingsBuilder TextStyle(Action<CircularChart3DFontBuilder> textStyle)
Parameters
Returns
TextWrap(TextWrap)
Defines the text wrap behavior to employ when the individual legend text overflows.
Normal
: Specifies to break words only at allowed break points.
Wrap
: Specifies to break a word once it is too long to fit on a line by itself.
AnyWhere
: Specifies to break a word at any point if there are no otherwise-acceptable break points in the line.
Declaration
public CircularChart3DLegendSettingsBuilder TextWrap(TextWrap value)
Parameters
Returns
Title(String)
Declaration
public CircularChart3DLegendSettingsBuilder Title(string value)
Parameters
Type |
Name |
Description |
System.String |
value |
|
Returns
TitlePosition(LegendTitlePosition)
Declaration
public CircularChart3DLegendSettingsBuilder TitlePosition(LegendTitlePosition value)
Parameters
Returns
TitleStyle(CircularChart3DFont)
Options to customize the legend title.
Declaration
public CircularChart3DLegendSettingsBuilder TitleStyle(CircularChart3DFont value)
Parameters
Returns
TitleStyle(Action<CircularChart3DFontBuilder>)
Declaration
public CircularChart3DLegendSettingsBuilder TitleStyle(Action<CircularChart3DFontBuilder> titleStyle)
Parameters
Returns
ToggleVisibility(Boolean)
If set to true, series visibility collapses based on the legend visibility.
Declaration
public CircularChart3DLegendSettingsBuilder ToggleVisibility(bool value)
Parameters
Type |
Name |
Description |
System.Boolean |
value |
|
Returns
Visible(Boolean)
If set to true, the legend will be displayed for the chart.
Declaration
public CircularChart3DLegendSettingsBuilder Visible(bool value)
Parameters
Type |
Name |
Description |
System.Boolean |
value |
|
Returns
Width(String)
The width of the legend in pixels.
Declaration
public CircularChart3DLegendSettingsBuilder Width(string value)
Parameters
Type |
Name |
Description |
System.String |
value |
|
Returns