Class ChartRangeColorSettingBuilder
Inheritance
System.Object
Syncfusion.EJ2.ControlBuilder
ChartRangeColorSettingBuilder
Namespace: Syncfusion.EJ2.Charts
Assembly: Syncfusion.EJ2.dll
Syntax
public class ChartRangeColorSettingBuilder : ControlBuilder
Constructors
ChartRangeColorSettingBuilder()
Declaration
public ChartRangeColorSettingBuilder()
ChartRangeColorSettingBuilder(List<ChartRangeColorSetting>)
Declaration
public ChartRangeColorSettingBuilder(List<ChartRangeColorSetting> collection)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.List<ChartRangeColorSetting> | collection |
Methods
Add()
Declaration
public void Add()
Colors(String[])
Specifies the fill colors for points that lie within the given range. If multiple colors are specified, a gradient will be applied.
Declaration
public ChartRangeColorSettingBuilder Colors(string[] colors)
Parameters
Type | Name | Description |
---|---|---|
System.String[] | colors |
Returns
End(Double)
Specifies the end value of the color mapping range.
Declaration
public ChartRangeColorSettingBuilder End(double end)
Parameters
Type | Name | Description |
---|---|---|
System.Double | end |
Returns
Label(String)
Specifies the name or label for the range mapping item.
Declaration
public ChartRangeColorSettingBuilder Label(string label)
Parameters
Type | Name | Description |
---|---|---|
System.String | label |
Returns
Start(Double)
Specifies the start value of the color mapping range.
Declaration
public ChartRangeColorSettingBuilder Start(double start)
Parameters
Type | Name | Description |
---|---|---|
System.Double | start |