Skip to content

Instantly share code, notes, and snippets.

View hotNipi's full-sized avatar

hotNipi

  • Playtech Estonia OÜ
  • Estonia
View GitHub Profile
@hotNipi
hotNipi / README.md
Last active May 4, 2021 09:03
Multicolor line with Dashboard Chart

Example flow how to create line chart with one line having two colors depending on value being over or under the threshold.

Actually there will be two lines but depending on value the lines have gaps if value is not at the correct side of threshold. Tricky part is to connect those lines visually correctly. It takes some tweaking so the graphical representation of data is not absolutely correct but at the point where threshold line is crossed it will have a slight time delay.

image text