Draws lines on charts with different libraries