# Chart

> The card an Agent sends in chat to show numbers as a line or bar chart, with a headline figure; tap it to read every value.

Source: https://air.build/docs/cards/chart/

A Chart card is an Agent showing numbers it has as a chart, for example 30 days of downloads or crashes per build. It shows a title, the headline number and a small line or bar chart. Tap it to open the chart larger and read the value at any point.

> [!NOTE]
> Agents send this as the `chart` card.

## Who sends it

An Agent sends it into the chat it's working in. There's nothing to answer. A chart never changes once sent: a later reading is a new card.

## What's on the card

| Part | What it shows |
| --- | --- |
| Title | What the chart shows, in bold. |
| Line under the title | When the Agent wrote one. |
| Headline figure | When the Agent gave figures: the first one, large, with the name of its line or bar series, and at the right how it moved against the period before, for example **↑ 24% vs 38**, **↓ 0.4 pt vs 4.2%** or **No change**. A rate moves in points (**pt**). The arrows don't say whether the change is good or bad. |
| Chart | A line chart or a bar chart, up to four series, each in its own color. A key under the chart names the series when there's more than one. Values are counts, percentages or money in a currency, as the axis shows. Days run along the bottom when the points are dates; otherwise the labels the Agent gave. |
| Marked points | A dashed line with a few words over it: something that happened on that day or point. |
| Shaded points | Points whose numbers may still change, such as the latest days of an App Store report. The key reads **Provisional — may still change**. |
| ⤢ | In the top-right corner: tap anywhere on the card to open it. |

The Agent's longer explanation and footnote aren't on the card; they’re in the [opened chart](https://air.build/docs/screens/chat/chart-viewer/).

## Open the chart

Tap the card (on the Mac, click it). The chart opens larger over the chat (see [Chart](https://air.build/docs/screens/chat/chart-viewer/)). Touch and hold the card (on the Mac, right-click it) for the message menu instead.

## States

A chart has no waiting, answered or expired state.

## Messages

| Message | What it means | What to do |
| --- | --- | --- |
| "This message requires a newer version of AirBuild." | In place of the card: the chart's numbers couldn't be drawn (for example a series that doesn't match the axis, or a unit that isn't a count, a percentage or a currency), or this version of the app can't show it. | Update AirBuild, or ask the Agent to send the chart again. |
