I tried to put background colors on a line chart using linear-gradient, color by trend as you can see on the image. But unfortunately the offset of gradient.addColorStop is not