• Open in:

Line with Changing Color

Alternating line color via data

amCharts 5 brings a powerful concept – template fields, which allows binding any setting of a Line series segment to values in data. Once a setting, say a color, is overridden via data, the Line series remembers it and continues coloring subsequent segments in the same color.

Related tutorials

Demo source