# Linear Gauges

Learn how to use Wijmo Linear Gauge components in this documentation topic

## Content

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](https://cdn.mescius.io/document-site-files/images/3c7113e2-10b3-45ed-8f3b-9fb1e0af2b74/gauge/gauge-linear-gauge.png)

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

![Linear Gauge Direction](https://cdn.mescius.io/document-site-files/images/3c7113e2-10b3-45ed-8f3b-9fb1e0af2b74/gauge/gauge-linear-direction.png)

Example:

```JavaScript
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'
  });
```
