Class ChartCategoryBuilder
Inheritance
System.Object
Syncfusion.EJ2.ControlBuilder
ChartCategoryBuilder
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.EJ2.Charts
Assembly: Syncfusion.AspNetMvc.Charts.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 |