Skip to main content
The Time Series panel (formerly Graph panel) visualizes time series data with support for multiple draw styles, stacking, and rich field configuration options.

Overview

The Time Series panel is the primary visualization for displaying metrics over time. It supports:
  • Multiple draw styles (lines, bars, points)
  • Stacking and grouping
  • Dual Y-axes
  • Annotations and exemplars
  • Interactive tooltips and legends

Panel Options

The Time Series panel is defined in public/app/plugins/panel/timeseries/module.tsx:15:

Tooltip Options

Control how data is displayed on hover:
Tooltip Modes:
  • single - Show only the closest series
  • multi - Show all series at the current time
  • none - Disable tooltips

Legend Options

Time Zone

Configure the display time zone:

Field Configuration

Field config options are defined in public/app/plugins/panel/timeseries/config.ts:97.

Graph Styles

Draw Style

Choose how the data is rendered:
Default configuration from public/app/plugins/panel/timeseries/config.ts:29:

Line Interpolation

Control how points are connected:

Gradient Mode

Apply color gradients to the fill:

Stacking

Stack multiple series:

Points

Configure point display:

Axis Configuration

Configure Y-axis display:

Null Value Handling

Control how gaps in data are displayed:

Thresholds

Display threshold lines or areas:

Panel JSON Example

Advanced Features

Annotations

The Time Series panel supports annotations with the plugin configured at public/app/plugins/panel/timeseries/module.tsx:33:
Annotations can be displayed as:
  • Vertical lines
  • Regions (time ranges)
  • Points on the graph

Exemplars

Exemplars are trace samples linked to metrics, displayed as special markers on the graph.

Transform

Apply transformations to series:

Migration from Old Graph Panel

The Time Series panel includes a migration handler at public/app/plugins/panel/timeseries/migrations.ts that automatically converts old graph panel configurations.
The old Graph panel is deprecated. All new dashboards should use the Time Series panel.

Implementation Details

The Time Series panel uses the TimeSeries component from app/core/components/TimeSeries/ which renders using the uPlot charting library for high-performance rendering. Key files:
  • public/app/plugins/panel/timeseries/module.tsx - Plugin definition
  • public/app/plugins/panel/timeseries/TimeSeriesPanel.tsx - Component implementation
  • public/app/plugins/panel/timeseries/config.ts - Field configuration
  • public/app/plugins/panel/timeseries/panelcfg.gen.ts - Generated types

Table Panel

Display data in tabular format

Stat Panel

Show single statistical values