> For the complete documentation index, see [llms.txt](https://docs.kiloiot.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.kiloiot.io/dashboards/adding-widgets/chart-widget/bar-chart.md).

# Bar Chart

Configure a Kilo Bar chart, compare individual reports, and print exact values directly on each bar.

A Bar chart is the second presentation inside the **Chart** widget. Instead of joining readings into a line, it draws each report as a separate bar. This is useful when operators need to compare discrete intervals or read exact individual measurements.

The Bar chart is not a Last Data display and is not a separate choice in the dashboard widget picker. Select **Chart**, then choose **bar** under **Widget type**.

<figure><img src="https://2057878315-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtNQh1wBSHSaknslMdOXm%2Fuploads%2Fgit-blob-19138019fd8eb71be00e1b109e919e4ca43d06e8%2Fchart-widget.jpg?alt=media" alt="Kilo Chart appearance settings with Bar selected, values printed on bars, and the metric shown below"><figcaption></figcaption></figure>

## Configure the Bar type

1. Add a **Chart** widget and select one device and one numeric metric on **Datasource**.
2. Open **Appearance** and set **Widget type** to **bar**.
3. Choose the timeframe and vertical value range.
4. Configure threshold bands, average, axis lines, and the data legend as required.
5. Turn on **Show metrics below** to show the metric name and its current reading beneath the plot.
6. Turn on **Display value on bar** to print each report's value on its bar.
7. Click **Save**.

**Display value on bar** is available only while Bar is selected. Kilo hides it for Line charts.

## When values on bars help

Use the labels when the exact difference between adjacent reports matters. For example, a vibration monitor reporting once per production interval can show `7.2`, `9.8`, and `12.4` directly on the bars. An engineer can identify the interval that crossed the operating limit without estimating against the vertical axis.

For a dense chart or a small dashboard tile, labels can compete for space. Keep them off when the overall shape matters more than each number, or enlarge the widget before enabling them.

## See also

* [Chart Widget](/dashboards/adding-widgets/chart-widget.md) — shared Chart configuration
* [Line Chart](/dashboards/adding-widgets/chart-widget/line-chart.md) — follow a continuous trend
* [Last Data Widget](/dashboards/adding-widgets/last-data-widget.md) — display the latest reading without history


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.kiloiot.io/dashboards/adding-widgets/chart-widget/bar-chart.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
