A stacked line chart is used to compare trends over time. It is constructed with two or more sets of data; the different data sets are typically given corresponding colored lines. In a stacked line chart, the data values are added together.