You are here: Symbol Reference > Dew Namespace > Dew.Math Namespace > Dew.Math.Tee Namespace > Classes > MtxGridSeries Class
Dew Math for .NET
ContentsIndexHome
PreviousUpNext
MtxGridSeries Class

2D grid series used for drawing matrix values.

Dew_Math_Tee_MtxGridSeries
Syntax
C#
Visual Basic
public class MtxGridSeries : Steema.TeeChart.Styles.BaseLine;

MtxGridSeries.cs

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.

Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!