5.20231.904
5.20231.904

Linear Gauges

Linear gauges are characterized by a linear scale which can be horizontal or vertical. They typically display a metric as a percentage of the length of a linear scale.

Linear Gauge

Create a horizontal or vertical gauge by setting the direction property to Left, Right, Up, or Down.

Linear Gauge Direction

Example:

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

// create a linear gauge
var myLinearGauge = new gauge.LinearGauge('#myLinearGauge', {
    isReadOnly: false,
    min: 0,
    max: 100,
    value: 75,
    direction: 'Right'
  });