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

# Time Series Chart

> Set up a Time Series chart with date dimension and measures.

A Time Series chart shows measures over a **date or time dimension** (e.g., daily revenue, weekly orders). You can mix line, bar, and area series.

## Data Requirements

* One **date dimension** (e.g., order date, created at) for the X-axis
* One or more **measures** (e.g., SUM of sales, COUNT of orders)

## How to Set Up

1. Create or edit a metric. Add a **date-type** column as a dimension and one or more measures.
2. Click the **Charts** icon and choose **Time series**.
3. Click **Settings** → **Chart types** → **Chart properties**.
4. Under **Required Axis**:
   * **Horizontal Axis**: The date dimension.
   * **Vertical Axis**: The measure(s) to plot.
5. In **Appearance** (or chart configuration), use **Time series** settings to:
   * **Group by**: Daily, Weekly, Monthly, Quarterly, or Yearly.
   * **Series type**: For each measure, choose Line, Bar, Area, Stack, or Combo.

## Time Grain / Group By

The **Group by** option buckets dates (e.g., by month or week). Use it when raw dates are too granular. Options include:

* Daily
* Weekly
* Monthly
* Quarterly
* Yearly

## Dynamic Group By

When **Dynamic** group by is enabled, you can change the time grain from the metric card or full-screen view.
