jim-easterbrook / pywws

Python software for USB Wireless WeatherStations
https://pywws.readthedocs.io/
GNU General Public License v2.0
204 stars 62 forks source link

Please add support for candlesticks graphs #42

Closed mbirth closed 8 years ago

mbirth commented 8 years ago

A candlesticks graph with whiskers (and/or whiskerbars) would be ideal for those day/night avg/max/min graphs currently used in 28days and yearly graphs.

Those look like these: http://gnuplot.sourceforge.net/demo/candlesticks.html . Or this one:

image

Sadly, the current source code doesn't allow this as candlesticks graphs need 4 y-values per row (NightAvg, NightMin, DayMax, DayAvg) and the Plot.py only writes 1 values per row.

I'm not sure but it might be sufficient if the <ycalc> field would allow a tuple to specify multiple data values. And the using 1:2 string for gnuplot should be adapted accordingly.

jim-easterbrook commented 8 years ago

See CONTRIBUTING.rst for instructions on how to add a new feature and create a pull request. (-:

mbirth commented 8 years ago

A little teaser. Pull request coming soon...

2010c