Class ChartCategoryBuilder
Inheritance
System.Object
Syncfusion.EJ2.ControlBuilder
ChartCategoryBuilder
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
CustomAttributes(Object)
Allows adding custom data for multi-level labels.
Declaration
public ChartCategoryBuilder CustomAttributes(object customAttributes)
Parameters
Type |
Name |
Description |
System.Object |
customAttributes |
|
Returns
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
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
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
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
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
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(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
Returns