> ## Documentation Index
> Fetch the complete documentation index at: https://docs.cube.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Bullet

> Compare a measure to its target against qualitative ranges, such as revenue against quota by region.

A bullet chart draws one bar per category, a marker for the target, and shaded ranges behind them,
such as *Poor*, *Satisfactory* and *Good*. It shows in a compact space whether each value meets its
target and how far it is from the next range.

In Cube, you build a bullet chart from a [bar chart](https://docs.cube.dev/docs/explore-analyze/charts/chart-types/bar.md):
the target is a second measure drawn as points, or a reference line, and the ranges are
[reference bands](https://docs.cube.dev/docs/explore-analyze/charts/configuration/axes.md#reference-bands).

## Build a bullet chart

1. Build a query with a dimension, such as a region, the measure to compare, such as revenue, and
   the target measure, such as the revenue quota.
2. Pick the **Bar** chart type. On the Fields tab, set **Orientation** to **Horizontal**.
3. On the Fields tab, open the mark type menu next to the target measure and choose **Point**. Each
   category gets a marker at its own target. The chart type now reads **Composite**, since the
   chart mixes bars and points. See
   [Series configuration](https://docs.cube.dev/docs/explore-analyze/charts/configuration/series-configuration.md#mark-type-override).
4. Add the ranges. In the Style tab, open the **⋮** menu of the **X-axis** section, which holds the
   measures on a horizontal chart, and choose **Add reference band**. Repeat once per range.
5. In each band row, type the **From** and **To** values, for example 0–8,000, 8,000–14,000 and
   14,000–22,000.
6. Click **Band options** in each band row and set its **Label**, for example *Poor*,
   *Satisfactory* and *Good*. Click each band's color swatch to give the bands shades from light
   to dark.

If every category has the same target, leave the target measure out of the query, skip step 3,
and add a [reference line](https://docs.cube.dev/docs/explore-analyze/charts/configuration/axes.md#reference-lines) at the
target value instead.

To show one value with its target and ranges, such as a single KPI, leave out the dimension. The
chart draws one bar.

> [!TIP]
>
> Each band draws a line on its edges and prints its range in its label. For a cleaner chart, turn
> off **Show edges** and **Show value** in **Band options**, so only the shading and the band names
> mark the ranges.

## Limitations

* A band covers the whole chart, so every category shares the same ranges. Ranges set as a
  percentage of each category's own target, for example 60% and 80% of each region's quota, are not
  supported.
* The target marker is a point: a circle, a square, or a triangle. There is no thin tick mark.
* The bars keep their usual width, so the bands show around the bars rather than as a wider strip
  behind a narrow bar.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.