Skip to content

Reference lines, trends, and statistics

On XY Chart and XYZ Chart, you can add the following displays from advanced settings. The setting items (type, display, trend type, and so on) are common to both.

FeatureContent
Reference lineShows a guide line or band on an axis.
TrendShows the tendency of a series using regression or a moving average.
StatisticsShows a series' average, median, max, and min as dashed lines.

There are differences in where you open the settings.

ItemXY ChartXYZ Chart
Reference lineAdvanced settings > X axis / Y axis > Reference lineSame. Scatter and bubble only (hidden for heatmap).
Trend / statisticsAdvanced settings > Series > (each Y value's series) > Trend / StatisticsAdvanced settings > Series > Trend / Statistics. Scatter and bubble only (hidden for heatmap).

Reference line

You can show a guide line or area on a chart, such as a target value, an acceptable range, or a danger zone. Y-axis reference lines are drawn horizontally, and X-axis reference lines are drawn vertically.

XY Reference Line
Reference line
XY Reference Line
Reference line

How to configure

  1. In the chart edit screen's advanced settings, open the axis (X axis / Y axis) where you want to show a reference line.
  2. Add an item under Reference line.
  3. Specify the type and value.

On XYZ Chart, you can only configure reference line for scatter and bubble.

Specification

ItemDescription
Type: LineShows a dashed line at a specific value. Specify the position with Value (for example, a sales target, a threshold, or a marker for a specific date).
Type: Band (range)Shows a specific range as a semi-transparent band. Specify the range with Start value / End value. Leaving these blank extends the band to the edge of the chart (for example, an acceptable range, a danger zone, or a caution period).
ColorChoose from Success / Warning / Danger.
LabelThe text attached to the reference line.

Trend

You can show a trend line (regression, moving average, and so on) for a series. The trend line is added as a separate series from the original.

XYZ Trend
Trend
XYZ Trend
Trend

How to configure

  1. In the chart edit screen, open advanced settings > Series.
    • On XY Chart, open the target Y value (series) first, then configure it.
    • On XYZ Chart, configure it directly under Series (scatter and bubble only).
  2. Turn on Trend > Display.
  3. Choose a trend type.

The trend line is shown as a dashed line. Except for Moving average, the equation and R² (coefficient of determination) are shown on the chart. You can hide them with Hide equation / Hide R².

Trend types

Trend typeDescriptionAdditional setting
LinearShows a linear regression (y = mx + c).None.
PolynomialShows a polynomial regression.Polynomial degree (2–5).
Moving averageShows a moving average.Moving average window size.
ExponentialShows an exponential regression (y = ae^(bx)).None.
LogarithmicShows a logarithmic regression (y = a + b ln(x)).None.
PowerShows a power regression (y = ax^b).None.

If there's too little data, or the specified trend type fails to fit, the trend line isn't shown.

Statistics

You can show a series' statistical value as a dashed line. The dashed line's label shows the statistic type and its value.

XY Statistics
Statistics
XY Statistics
Statistics

How to configure

  1. In the chart edit screen, open advanced settings > Series.
    • On XY Chart, open the target Y value (series) first, then configure it.
    • On XYZ Chart, configure it directly under Series (scatter and bubble only).
  2. Turn on Statistics > Display.
  3. Choose a statistic type (Average / Median / Max / Min).

Difference from trend

CharacteristicStatisticsTrend
Display formatShown as part of the same series.Added as a separate series (trend line).
When zooming the chartRecalculated using only the data in the visible range.Not recalculated (always based on all data).
Display on stacked chartsShown in sync with the target series' stacking.Not stacked; shown as a separate series.