menu

ASP.NET MVC - EJ2

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

    Show / Hide Table of Contents

    Class CircularChart3DLegendSettingsBuilder

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

    Constructors

    CircularChart3DLegendSettingsBuilder()

    Declaration
    public CircularChart3DLegendSettingsBuilder()

    CircularChart3DLegendSettingsBuilder(CircularChart3DLegendSettings)

    Declaration
    public CircularChart3DLegendSettingsBuilder(CircularChart3DLegendSettings model)
    Parameters
    Type Name Description
    CircularChart3DLegendSettings model

    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
    Type Name Description
    Alignment value
    Returns
    Type
    CircularChart3DLegendSettingsBuilder

    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
    Type
    CircularChart3DLegendSettingsBuilder

    Border(CircularChart3DBorder)

    Options to customize the border of the legend.

    Declaration
    public CircularChart3DLegendSettingsBuilder Border(CircularChart3DBorder value)
    Parameters
    Type Name Description
    CircularChart3DBorder value
    Returns
    Type
    CircularChart3DLegendSettingsBuilder

    Border(Action<CircularChart3DBorderBuilder>)

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

    ContainerPadding(CircularChart3DContainerPadding)

    Options to customize left, right, top and bottom padding for legend container of the chart.

    Declaration
    public CircularChart3DLegendSettingsBuilder ContainerPadding(CircularChart3DContainerPadding value)
    Parameters
    Type Name Description
    CircularChart3DContainerPadding value
    Returns
    Type
    CircularChart3DLegendSettingsBuilder

    ContainerPadding(Action<CircularChart3DContainerPaddingBuilder>)

    Declaration
    public CircularChart3DLegendSettingsBuilder ContainerPadding(Action<CircularChart3DContainerPaddingBuilder> containerPadding)
    Parameters
    Type Name Description
    System.Action<CircularChart3DContainerPaddingBuilder> containerPadding
    Returns
    Type
    CircularChart3DLegendSettingsBuilder

    Description(String)

    Description for legends.

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

    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
    Type
    CircularChart3DLegendSettingsBuilder

    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
    Type
    CircularChart3DLegendSettingsBuilder

    Height(String)

    The height of the legend in pixels.

    Declaration
    public CircularChart3DLegendSettingsBuilder Height(string value)
    Parameters
    Type Name Description
    System.String value
    Returns
    Type
    CircularChart3DLegendSettingsBuilder

    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
    Type
    CircularChart3DLegendSettingsBuilder

    ItemPadding(Double)

    Option to customize the padding between legend items.

    Declaration
    public CircularChart3DLegendSettingsBuilder ItemPadding(double value)
    Parameters
    Type Name Description
    System.Double value
    Returns
    Type
    CircularChart3DLegendSettingsBuilder

    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
    Type Name Description
    CircularChart3DLocation value
    Returns
    Type
    CircularChart3DLegendSettingsBuilder

    Location(Action<CircularChart3DLocationBuilder>)

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

    Margin(CircularChart3DMargin)

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

    Declaration
    public CircularChart3DLegendSettingsBuilder Margin(CircularChart3DMargin value)
    Parameters
    Type Name Description
    CircularChart3DMargin value
    Returns
    Type
    CircularChart3DLegendSettingsBuilder

    Margin(Action<CircularChart3DMarginBuilder>)

    Declaration
    public CircularChart3DLegendSettingsBuilder Margin(Action<CircularChart3DMarginBuilder> margin)
    Parameters
    Type Name Description
    System.Action<CircularChart3DMarginBuilder> margin
    Returns
    Type
    CircularChart3DLegendSettingsBuilder

    MaximumLabelWidth(Double)

    Minimum label width for the legend text.

    Declaration
    public CircularChart3DLegendSettingsBuilder MaximumLabelWidth(double value)
    Parameters
    Type Name Description
    System.Double value
    Returns
    Type
    CircularChart3DLegendSettingsBuilder

    MaximumTitleWidth(Double)

    Maximum width for the legend title.

    Declaration
    public CircularChart3DLegendSettingsBuilder MaximumTitleWidth(double value)
    Parameters
    Type Name Description
    System.Double value
    Returns
    Type
    CircularChart3DLegendSettingsBuilder

    Opacity(Double)

    Opacity of the legend.

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

    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
    Type
    CircularChart3DLegendSettingsBuilder

    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
    Type Name Description
    LegendPosition value
    Returns
    Type
    CircularChart3DLegendSettingsBuilder

    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
    Type
    CircularChart3DLegendSettingsBuilder

    ShapeHeight(Double)

    Shape height of the legend in pixels.

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

    ShapePadding(Double)

    Padding between the legend shape and text.

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

    ShapeWidth(Double)

    Shape width of the legend in pixels.

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

    TabIndex(Double)

    TabIndex value for the legend.

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

    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
    Type Name Description
    LabelOverflow value
    Returns
    Type
    CircularChart3DLegendSettingsBuilder

    TextStyle(CircularChart3DFont)

    Options to customize the legend text.

    Declaration
    public CircularChart3DLegendSettingsBuilder TextStyle(CircularChart3DFont value)
    Parameters
    Type Name Description
    CircularChart3DFont value
    Returns
    Type
    CircularChart3DLegendSettingsBuilder

    TextStyle(Action<CircularChart3DFontBuilder>)

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

    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
    Type Name Description
    TextWrap value
    Returns
    Type
    CircularChart3DLegendSettingsBuilder

    Title(String)

    Title for legends.

    Declaration
    public CircularChart3DLegendSettingsBuilder Title(string value)
    Parameters
    Type Name Description
    System.String value
    Returns
    Type
    CircularChart3DLegendSettingsBuilder

    TitlePosition(LegendTitlePosition)

    Legend title position.

    Declaration
    public CircularChart3DLegendSettingsBuilder TitlePosition(LegendTitlePosition value)
    Parameters
    Type Name Description
    LegendTitlePosition value
    Returns
    Type
    CircularChart3DLegendSettingsBuilder

    TitleStyle(CircularChart3DFont)

    Options to customize the legend title.

    Declaration
    public CircularChart3DLegendSettingsBuilder TitleStyle(CircularChart3DFont value)
    Parameters
    Type Name Description
    CircularChart3DFont value
    Returns
    Type
    CircularChart3DLegendSettingsBuilder

    TitleStyle(Action<CircularChart3DFontBuilder>)

    Declaration
    public CircularChart3DLegendSettingsBuilder TitleStyle(Action<CircularChart3DFontBuilder> titleStyle)
    Parameters
    Type Name Description
    System.Action<CircularChart3DFontBuilder> titleStyle
    Returns
    Type
    CircularChart3DLegendSettingsBuilder

    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
    Type
    CircularChart3DLegendSettingsBuilder

    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
    Type
    CircularChart3DLegendSettingsBuilder

    Width(String)

    The width of the legend in pixels.

    Declaration
    public CircularChart3DLegendSettingsBuilder Width(string value)
    Parameters
    Type Name Description
    System.String value
    Returns
    Type
    CircularChart3DLegendSettingsBuilder
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved