---
updatedAt: 2026-08-20T17:56:18.000Z
agentTools:
  projectIndex: https://docs.observeinc.com/llms.txt
---

# Bar chart

The bar chart is a familiar visualization that presents a value in either vertical or horizontal bars. Bar charts are useful for comparing quantities across different categories.

<Image src="https://files.readme.io/87f62e468c7a2ef7939cf8a57cb40f72595230cb0ae0f703ec06dafa01969752-Screenshot_2025-08-20_at_4.31.06_PM.png" align="center" border={true} />

Bar charts can additionally be displayed as grouped bar charts, or horizontally, as shown below, by selecting **Horizontal chart** in the Encoding settings. See [Bar chart settings](#bar-chart-settings).

For example, you can use vertical bar charts to compare data over time, while horizontal bar charts are useful for comparing fixed and discrete categories, such as countries, products, or names.

<Image src="https://files.readme.io/34a27fb0582b50e2884deffed2887dfdb0271accc08a91f5d17e2e3fe23f4273-b53fdc70bdafdb3f3c253d6324c75e9cfe2a87ad597149e91da09f8d2a482b50-Screenshot_2025-08-20_at_4.31.15_PM.png" align="center" border={true} />

# Bar chart settings

Click **Chart settings** to configure the properties for a bar chart.

<Table>
  <thead>
    <tr>
      <th>
        Setting
      </th>

      <th>
        Description
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        Encoding
      </td>

      <td>
        Configure how the data is mapped to the X and Y axes. <br /><br />Select **Horizontal chart** to change the visualization to a horizontal bar chart.
      </td>
    </tr>

    <tr>
      <td>
        Axis
      </td>

      <td>
        Provides the following options:

        - Show/hide the labels for the X and Y axes.
        - Show/hide the X and Y axes grid lines.
        - Select **Fit to Data** to have the bar chart fill up the white space in the chart.
        - Use **Lower bound** and **Upper bound** to lock the X and Y axes between exact minimum and maximum numbers.
      </td>
    </tr>

    <tr>
      <td>
        Y value formatting
      </td>

      <td>
        Configure how the values on the Y axis are represented.

        - Select a number unit type, such as decimal, unit, or currency.
        - Select a locale, notation, compact display, and sign display
        - Select **Hide grouping separators** to remove the commas, periods, or spaces used to break up large numbers into readable blocks.
        - Select the number of fraction digits and significant digits you want displayed.
      </td>
    </tr>

    <tr>
      <td>
        Bar style
      </td>

      <td>
        Select how you want the bars to be stylized:

        - Select translucent, solid fill, or no fill bars.
        - Select **Normalize** to draw bars as a percentage of the total.
      </td>
    </tr>

    <tr>
      <td>
        Legend and tooltip
      </td>

      <td>
        Customize the legend in the chart:

        - Select whether you want to have a visible legend, its position, and whether to display as a list or table.
        - Select the sort order of the legend, either ascending or descending.
        - Customize how you want null entries displayed.
      </td>
    </tr>

    <tr>
      <td>
        Colors
      </td>

      <td>
        Configure the color scheme you want to use for the chart.
      </td>
    </tr>

    <tr>
      <td>
        Overlays
      </td>

      <td>
        Configure additional visual markers on the chart:

        - Enable **Show Thresholds** to show a line delineating some threshold number,  perhaps corresponding with a threshold in a Monitor that when exceeded, will fire an alert.
        - Use **Annotation Label** and **Dataset** together to view the data from another Dataset on top of your visualization, such as viewing deployment markers for APM.
      </td>
    </tr>
  </tbody>
</Table>

Below is an example of a Deployment Dataset on top of some Kubernetes log data:

<Image src="https://files.readme.io/38ff12be8a87e632ba9e2cf601deb76548e96018804e7832fc1ac1918d4d11bd-Screenshot_2026-08-20_at_9.52.49_AM.png" border={true} />

<br />

<br />