Plot prob of precip (pop) on precip forecast graph
The idea is to add an extra input to DrawGraph(), which specifies whether the y-axis in on the RHS or LHS of the plot.
(This variable is a boolean whereby True --> LHS axis and False --> RHS axis)
This is used to display probability of precipitation as a line plot on top of the precipitation bar chart.
(Presently only implemented in Waveshare_7_5_T7.ino, will look at copying to other 7 inch displays. Hence draft PR)
Edit: Realised that I can not test the port to other display sizes as I only have access to the 7.5" 800x480 E-Paper Layout. Hence only propose edits for Waveshare_7_5_T7.ino and will not propose edits for other screen sizes.
Lefthand y-axis: mm.
Righthand y-axis: % probability of precipitation.
The idea is to add an extra input to DrawGraph(), which specifies whether the y-axis in on the RHS or LHS of the plot. (This variable is a boolean whereby True --> LHS axis and False --> RHS axis)
This is used to display probability of precipitation as a line plot on top of the precipitation bar chart.
(Presently only implemented in Waveshare_7_5_T7.ino, will look at copying to other 7 inch displays. Hence draft PR)
Edit: Realised that I can not test the port to other display sizes as I only have access to the 7.5" 800x480 E-Paper Layout. Hence only propose edits for
Waveshare_7_5_T7.ino
and will not propose edits for other screen sizes.