menu

ASP.NET MVC - EJ2

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

    Show / Hide Table of Contents

    Class ChartCategoryBuilder

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

    Constructors

    ChartCategoryBuilder()

    Declaration
    public ChartCategoryBuilder()

    ChartCategoryBuilder(List<ChartCategory>)

    Declaration
    public ChartCategoryBuilder(List<ChartCategory> collection)
    Parameters
    Type Name Description
    System.Collections.Generic.List<ChartCategory> collection

    Methods

    Add()

    Declaration
    public void Add()

    CustomAttributes(Object)

    Allows adding custom data for multi-level labels.

    Declaration
    public ChartCategoryBuilder CustomAttributes(object customAttributes)
    Parameters
    Type Name Description
    System.Object customAttributes
    Returns
    Type
    ChartCategoryBuilder

    End(Double)

    Specifies the end value for the multi-level labels.

    Declaration
    public ChartCategoryBuilder End(double end)
    Parameters
    Type Name Description
    System.Double end
    Returns
    Type
    ChartCategoryBuilder

    End(String)

    Specifies the end value for the multi-level labels.

    Declaration
    public ChartCategoryBuilder End(string end)
    Parameters
    Type Name Description
    System.String end
    Returns
    Type
    ChartCategoryBuilder

    MaximumTextWidth(Double)

    Specifies the maximum width of the text for multi-level labels.

    Declaration
    public ChartCategoryBuilder MaximumTextWidth(double maximumTextWidth)
    Parameters
    Type Name Description
    System.Double maximumTextWidth
    Returns
    Type
    ChartCategoryBuilder

    Start(Double)

    Specifies the starting value for the multi-level labels.

    Declaration
    public ChartCategoryBuilder Start(double start)
    Parameters
    Type Name Description
    System.Double start
    Returns
    Type
    ChartCategoryBuilder

    Start(String)

    Specifies the starting value for the multi-level labels.

    Declaration
    public ChartCategoryBuilder Start(string start)
    Parameters
    Type Name Description
    System.String start
    Returns
    Type
    ChartCategoryBuilder

    Text(String)

    Specifies the text to be displayed for the multi-level labels.

    Declaration
    public ChartCategoryBuilder Text(string text)
    Parameters
    Type Name Description
    System.String text
    Returns
    Type
    ChartCategoryBuilder

    Type(BorderType)

    Specifies the type of border for labels. Available border types: Rectangle Without Top Border Without Top and Bottom Border Without Border Brace Curly Brace

    Declaration
    public ChartCategoryBuilder Type(BorderType type)
    Parameters
    Type Name Description
    BorderType type
    Returns
    Type
    ChartCategoryBuilder
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved