This was something that one of the Canford boys was supposed to be doing
viewtopic.php?f=17&t=115, but nothing has appeared yet.
Apart from that, you may recall that I looked into this a fair time ago and found that there were a fair few chart generating tools available on Linux which were very powerful. However, I was doing the conversions on Kubuntu at the time, mainly using Kst. Another charting tool which is definitely available on Raspian is GnuPlot
https://www.raspberrypi-spy.co.uk/2014/ ... pberry-pi/. Presumably you could build this for the NAS Box if we felt that was the right way to do it.
However, we aren't trying to display the chart in the Raspbian GUI; we want the chart to be available in the Staff/Visitor GUI which will run in a browser. Ideally therefore, rather than generate the chart on the fly, we should run a background Task to generate a plot for a specific dataset, eg a month's worth of data. Here is a question about generating a chart as an HTML file using GnuPlot
https://ubuntuforums.org/archive/index. ... 74282.html, but I suspect that all we want to do is to generate the chart as a .png file and insert it into the web page using Flask or whatever framework we decide is best for our purposes. (I recommended Flask originally because that's what the denizens of the Dorset LUG suggested.)
Obviously you could use Python or R if you felt it to be a good choice (or it scratched a particular itch that you have
), but charting is a fairly complex subject so in good Unix fashion; perhaps we should build our system with lots of tools, each of which do one thing very well. (This was the thinking behind using mpg321 for the bells and subsequently the Loos. I'm sure someone (not me) could have written an MP3 Player to include in my Python, but mpg321 aleady existed and allowed me to effectively use the OS to implement multitasking for me.)