Class HeatMapPaletteBuilder
Inheritance
System.Object
Syncfusion.EJ2.ControlBuilder
HeatMapPaletteBuilder
Namespace: Syncfusion.EJ2.HeatMap
Assembly: Syncfusion.EJ2.dll
Syntax
public class HeatMapPaletteBuilder : ControlBuilder
Constructors
HeatMapPaletteBuilder()
Declaration
public HeatMapPaletteBuilder()
HeatMapPaletteBuilder(List<HeatMapPalette>)
Declaration
public HeatMapPaletteBuilder(List<HeatMapPalette> collection)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.List<HeatMapPalette> | collection |
Methods
Add()
Declaration
public void Add()
Color(String)
Sets and gets the color for a palette.
Declaration
public HeatMapPaletteBuilder Color(string color)
Parameters
Type | Name | Description |
---|---|---|
System.String | color |
Returns
EndValue(Double)
Sets and gets the end value in the heatmap data to set the palette color.
Declaration
public HeatMapPaletteBuilder EndValue(double endValue)
Parameters
Type | Name | Description |
---|---|---|
System.Double | endValue |
Returns
Label(String)
Sets and gets the label to be set in the corresponding legend for the palette color.
Declaration
public HeatMapPaletteBuilder Label(string label)
Parameters
Type | Name | Description |
---|---|---|
System.String | label |
Returns
MaxColor(String)
Sets and gets the maximum color for color range in a palette.
Declaration
public HeatMapPaletteBuilder MaxColor(string maxColor)
Parameters
Type | Name | Description |
---|---|---|
System.String | maxColor |
Returns
MinColor(String)
Sets and gets the minimum color for color range in a palette.
Declaration
public HeatMapPaletteBuilder MinColor(string minColor)
Parameters
Type | Name | Description |
---|---|---|
System.String | minColor |
Returns
StartValue(Double)
Sets and gets the start value in the heatmap data to set the palette color.
Declaration
public HeatMapPaletteBuilder StartValue(double startValue)
Parameters
Type | Name | Description |
---|---|---|
System.Double | startValue |
Returns
Value(Double)
Sets and gets the value in the heatmap data to set the palette color.
Declaration
public HeatMapPaletteBuilder Value(double value)
Parameters
Type | Name | Description |
---|---|---|
System.Double | value |