ChartToolsConvertDoubleArrayToBitmap Method (Double, Color, Double, Double) |
LightningChart .NET Help
Convert double array into colors, by using gradient fixed-interval palette.
Namespace:
Arction.Wpf.Charting
Assembly:
Arction.Wpf.Charting.LightningChart (in Arction.Wpf.Charting.LightningChart.dll) Version: 10.3.1
Syntaxpublic static BitmapFrame ConvertDoubleArrayToBitmap(
double[][] array,
Color[] colors,
double minValue,
double maxValue
)
Public Shared Function ConvertDoubleArrayToBitmap (
array As Double()(),
colors As Color(),
minValue As Double,
maxValue As Double
) As BitmapFrame
public:
static BitmapFrame^ ConvertDoubleArrayToBitmap(
array<array<double>^>^ array,
array<Color>^ colors,
double minValue,
double maxValue
)
Parameters
- array
- Type: SystemDouble
Jagged array matrix, M x N. - colors
- Type: System.Windows.MediaColor
Colors. - minValue
- Type: SystemDouble
Minimum value, which represents the first color. - maxValue
- Type: SystemDouble
Maximum value, which represents the last color.
Return Value
Type:
BitmapFrameBitmap.
See Also