Sorry to be so late. Lines are white sprites, when the value changes, the color of the sprite changes. For one point, it is enough to have a link to another to draw a line at two points. All code is available with open source, you can see there.