You are here: Symbol Reference > MtxVecTee Namespace > Classes > TColorPalette Class > published > TColorPalette.PaletteStyle Property
MtxVec VCL
ContentsIndex
PreviousUpNext
TColorPalette.PaletteStyle Property

Defines palette style.

Pascal
property PaletteStyle: TGridPaletteStyle;

Defines palette style used by series to display matrix values. TColorPalette supports two different ways to link colors with 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. In this case you have to set BottomColor, TopColor and PaletteSteps properties and set PaletteStyle to palAuto. The number of steps in the palette will not affect the fill-in speed of the bitmap and you can be very generous, if needed by specifying large PaletteSteps count.
  • Define each level and it's color manually. Using this approach you can easily plot values using nonlinear color scale. In this case use function 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.
Copyright (c) 1999-2025 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!