# Area Chart

An area chart shows changes in quantities over time. It's similar to a line chart, with the area under the line filled in with color.

It's best used with multiple lines (**series**), and a continuous primary axis. Generally, the X-axis is the primary axis.

The primary axis can be Quantitative, Temporal, Ordinal, or Nominal. It has an automatic setting, but this can be manually set as well.

![](/files/TSaTWDrCaRJxrQAAeP71)

### Secondary Timeline

<mark style="color:purple;">**`TIP`**</mark>: A temporal axis works well to show changes over time, and can be used as a secondary timeline on your dashboard. If the data contains a column that aggregates to a larger unit of time (e.g. week number of study), this can be plotted as an aggregated timeline using that column (week number) as the axis. This is a way to simulate the unit changes that are available in the actual timeline panel.

<figure><img src="/files/mEygOnQVNzIbSS6WJJHb" alt=""><figcaption><p>Using an area chart as a secondary timeline, using a temporal axis</p></figcaption></figure>

<figure><img src="/files/ukCWcQSTe86kil2K6OSn" alt=""><figcaption><p>Using an area chart as an aggregated secondary timeline, using a week number instead of temporal axis</p></figcaption></figure>

### Interpolation

When choosing your chart type, the default is linear interpolation, but [other options](/instructions/adding-and-editing-panels/charts-panel.md#interpolation) may be more appropriate for your data.


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.microreact.org/instructions/adding-and-editing-panels/charts-panel/area-chart.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
