# Bar Gauge

* [Value options](#bargauge-valueoptions)
  * [Show](#bargauge-show)
* [Bar gauge options](#bargauge-bargaugeoptions)
  * [Orientation](#bargauge-orientation)
  * [Display mode](#bargauge-displaymode)
  * [Show unfilled area](#bargauge-showunfilledarea)
  * [Min width](#bargauge-minwidth)
  * [Min height](#bargauge-minheight)

The bar gauge simplifies your data by reducing every field to a single value. You choose how Algology calculates the reduction.

This panel can show one or more bar gauges depending on how many series, rows, or columns your query returns.

***

### Value options <a href="#bargauge-valueoptions" id="bargauge-valueoptions"></a>

Use the following options to refine how your visualization displays the value:

#### Show <a href="#bargauge-show" id="bargauge-show"></a>

Choose how Algology displays your data.

**Calculate**

Show a calculated value based on all rows.

* **Calculation -** Select a reducer function that Algology will use to reduce many fields to a single value.&#x20;
* **Fields -** Select the fields display in the panel.

**All values**

Show a separate stat for every row. If you select this option, then you can also limit the number of rows to display.

* **Limit -** The maximum number of rows to display. Default is 5,000.
* **Fields -** Select the fields display in the panel.

***

### Bar gauge options <a href="#bargauge-bargaugeoptions" id="bargauge-bargaugeoptions"></a>

Adjust how the bar gauge is displayed.

#### Orientation <a href="#bargauge-orientation" id="bargauge-orientation"></a>

Choose a stacking direction.

* **Auto -** Algology selects what it thinks is the best orientation.
* **Horizontal -** Bars stretch horizontally, left to right.
* **Vertical -** Bars stretch vertically, bottom to top.

#### Display mode <a href="#bargauge-displaymode" id="bargauge-displaymode"></a>

Choose a display mode.

* **Gradient -** Threshold levels define a gradient.
* **Retro LCD -** The gauge is split into small cells that are lit or unlit.
* **Basic -** Single color based on the matching threshold.

#### Show unfilled area <a href="#bargauge-showunfilledarea" id="bargauge-showunfilledarea"></a>

Select this if you want to render the unfilled region of the bars as dark gray.

#### Min width <a href="#bargauge-minwidth" id="bargauge-minwidth"></a>

Limit the minimum width of the bar column in the vertical direction.

Automatically show x-axis scrollbar when there is a large amount of data.

#### Min height <a href="#bargauge-minheight" id="bargauge-minheight"></a>

Limit the minimum height of the bar row in the horizontal direction.

Automatically show y-axis scrollbar when there is a large amount of data.

***
