• Open in:

Trend Lines

You can create real analytical trendlines, indicators, and other annotations with amCharts Stock Chart but when you need something simple you can just use the core tools at your disposal in the XY Charts.

Key implementation details

To imitate trendlines we simple add extra line series with just two data points at the ends of the line.

Related tutorials

Demo source