(Showing Draft Content)

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


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

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