canvas-linearlinechart api canvasLinearLineChart(elem, width, [[x, value, options?], ... ], [x, label]); Options are end for omitting the dot and focus for highlighting the dot. install npm install --save canvas-linearlinechart