Point the fit at your own field names instead of x and y
The data objects use month and count, not x and
y. Without the keys below, the fitter would read every point as missing.
trendlineLinear: {
xAxisKey: 'month', // default: 'x'
yAxisKey: 'count', // default: 'y'
colorMin: '#e74c3c',
width: 2,
lineStyle: 'dashed',
label: { text: 'Signups', display: true, displayValue: false },
}
{ month: '2025-01-01', count: 120 }, one object per pointparsing to plot the points — the trendline keys do not affect the line itself. If you set options.parsing instead, the plugin falls back to those keys and the two options above can be left out