2D grid series used for drawing matrix values. The series is derived from TeeChart ColorGrid style (copyright by David Berneda).
MtxGridSeries supports three different ways to represent matrix values:
- Define color for minimum value, color for maximum value and number of levels in between. The algorithm will then automatically create palette entries with correcponding color for each level. The crefGridPaletteStyle must be set to GridPaletteStyle.palRangeDiscrete.
- By setting the crefGridPaletteStyle to GridPaletteStyle.palRange, the palette will not have a fixed number of entries. Instead the colors will be computed on the fly explicitely for each value. This will give the most accurate color presentation with perfectly smooth transitions.
- Define each level and it's color manually. Using this approach you can easily plot values using nonlinear color scale. In this case use the ColorPalette.Add(double,Color) method to add new palette entries/levels. This method has the slowest fill-in speed of the bitmap and its speed linearly depends upon the number of palette entries.
The series supports many different color scales and combinations.