5.20231.904
5.20231.904

Gauge Face Element

The "face" is a range that represents the gauge background. The min and max properties of the face range correspond to the min and max properties of the gauge control and limit the values that the gauge can display.

You can control the thickness, color and shadow effect of the face element by setting the face's thickness and color properties, and the hasShadow property.

Example:

import * as gauge from '@grapecity/wijmo.gauge';

// create the gauge
var myRadialGauge = new gauge.RadialGauge('#myRadialGauge');
myRadialGauge.face.color = '#ffffff';
myRadialGauge.face.thickness = 1.0;
myRadialGauge.hasShadow = true;