How to
Scatter Diagonal / Reference Line
Add a diagonal reference line from the origin to the top-right corner of a Scatter / Bubble chart, with an optional shaded area above it.
Updated November 14, 2026
Use the Diagonal / Reference line options on a Scatter / Bubble widget to draw a straight line from the origin (0, 0) to the top-right corner of the visible chart, and optionally shade the area above it.
Turn it on
- Open the widget and set the chart type to Scatter / Bubble.
- In Visualization, expand Diagonal / Reference line.
- Switch on Show diagonal line to draw the line.
- Switch on Shade area above line to fill the area above the diagonal. The two switches are independent, so you can use either one alone or both together.
Switching an option off removes it. Your data and axis settings are not changed.
How it behaves
- The line always ends at the top-right corner of the visible plot, so it updates when you zoom, resize, change the Y min / Y max, or the data changes.
- The shaded area is the region above the line, clipped to the chart. When an axis includes negative values, the line passes through (0, 0) and is clipped to the visible chart.
- It needs a numeric X column. With a category X axis the options have no effect.
- It applies to the chart's primary axes only.
Not a regression line
The line is a visual reference whose slope depends on the current axis ranges. It is not a fitted (least-squares) trend line of your data.