Shortly: I'm want to write a simple GUI app with scrollable plot and 2 buttons zoomIn and zoomOut (something like an oscilloscope) as a test application (app for checking, can I use Nim in my work or not; and whether it will take a lot of unnecessary effort). Please share your experience or advice in this topic. Many thanks!
The easiest way is to wrap Facebook Visdom
You can see a wrapper in arraymancer-vision. The Visdom code is only 60 lines.
Arraymancer-vision was just a proof of concept to do image analysis with Arraymancer back in October.
The important thing was how easy it is to start a visdom wrapper. Here Arraymancer-vision just wraps image display but charts should be easy as well.
Facebook Visdom is a server that you can access from your browser. It has an API accessible from any language with HTTP queries and it is used for data visualization at Facebook. It's based on Plot.ly which is a very nice concurrent to matplotlib in Python and ggplot in R.