On Habre has already published several topics with an overview of JS libraries for plotting, but they are too heavy and not suitable in my case, when Libu need to be stored in the controller memory which is limited.
Maybe someone saw on the Internet easy Libu? You need to build a Line graph in real time. Suitable pure HTML5 ie without support for legacy browsers.
As I myself in JS nothing is wrote, to correct or simplify existing solutions I can't.