The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....



Using TScaleGauge


The TScaleGauge component provides a versatile graphical gauge, supporting both linear and logarithmic displays with different orientations. The dial can be either fixed with a moving value indicator, or moving with a fixed value indicator (property FixedDial). The numeric value of the gauge is controlled by the property Value, the range of the dial can be set by the properties Min and Max.

The appearance of the gauge is determined by its colors, the caption, the margins, the frames and the type of background and the kind of index (property IndexMode).

In particular, the colors are controlled by the properties ColorBg1, ColorBg2, ColorCover, ColorIndex1, ColorIndex2 and ColorScale. Further, the caption of the gauge can be controlled by the following properties: Caption, CaptionColor, CaptionPosX, CaptionPosY, CaptionSize and CaptionStyle.

The margins and frames are controlled by the properties MarginBottom, MarginLeft, MarginRight, MarginTop, FrameStyleInner and FrameStyleOuter.

The ticks along the scale of the dial can be influenced by the properties MinTicks and ShortTicks. Further the zero point of the gauge can shifted by means of GaugeZero.


Last Update: 2023-Dec-15