scale(color_schema_term_name), apply for the heatmap plot
ValueScaleColorProfile
01 Syntax
Microsoft.VisualBasic.Imaging.Drawing2D.Colors.Scaler.ValueScaleColorProfile
02 Methods
| Name | Overloads | Summary |
|---|---|---|
| .ctor | 1 | |
| GetColor | 1 | get color use the item value |
| ReScaleToValueRange | 1 |
03 Properties
| Name | Overloads | Summary |
|---|---|---|
| ValueMinMax | 1 | get the [min,max] value range of the real world sample value input. |
04 Fields
| Name | Overloads | Summary |
|---|---|---|
| valueRange | 1 | data range of the real world sample value, example as temperature value for heatmap |
| indexRange | 1 | data range for the color array |
| logarithm | 1 | base value for the log function for scale of the input value. |
05 Members
#ctor(
IEnumerable(Of NamedValue(Of Double)), String, Int32, Double)Parameters
| Name | Type | Description |
|---|---|---|
data | IEnumerable(Of NamedValue(Of Double)) | the real world sample value, example as temperature value for heatmap |
colorSchema | String | the color map name, usually be the ScalerPalette enum string value. |
level | Int32 | color map depth levels |
logarithm | Double | base value for the log function for scale of the input value. zero or negative value mean no log function calls |
GetColor(
NamedValue(Of Double))get color use the item value
Parameters
| Name | Type | Description |
|---|---|---|
item | NamedValue(Of Double) | - |
Returns
this function scale the item its NamedValue.Value to a color
ValueMinMax
get the [min,max] value range of the real world sample value input.
valueRange
data range of the real world sample value, example as temperature value for heatmap
indexRange
data range for the color array
logarithm
base value for the log function for scale of the input value.
ReScaleToValueRange(
Double, Double)