Demonstrates exponential curve fitting with growth and decay examples
This example demonstrates exponential trendline fitting using trendlineExponential:
To use exponential trendlines, configure your dataset with trendlineExponential instead of trendlineLinear:
trendlineExponential: {
colorMin: '#ff6b6b',
colorMax: '#ff6b6b',
width: 2,
lineStyle: 'solid',
label: {
text: 'Exponential Trend',
display: true,
displayValue: true,
color: '#ff6b6b',
font: {
size: 12,
family: 'Arial',
},
offset: 10,
},
}