Oh… you mean vertically? I always tend to think about horizontal fit as that is usually a bigger issue. Scrolling down is not such a problem, but people dont like scrolling left-right.
Anyway, this however is similar to what I mentioned above - this is a matter of design, just like Im gonna make a different looking design, I can make one that shows the exact same thing, just smaller.
What I was more interested in was suggestions what to add or whether this is what it should look like. I will then start working on php actually getting real data and pluging it in so that it can be used with the clientraw. In other words I want to sort out content first, then get the technical side of it done and working and then the last thing is playing around with the design, which is relatively easy.
Oh yes, I knew there was something I wanted to add and I forgot
Could you just tell me in what way do PWS report UV? Is it just Davis? And is it some number, just like solar radiation for example, or is it just one of a few fixed “indexes”, such as “1”, “2”… what is the range and accuracy and units of this?
Several station types report it (to a greater or lesser degree of accuracy) and there used to be a 1-wire add-on sensor too.
See the graphic at the bottom of this page for the generally accepted reporting scale/color code. In data you may see numbers up to 16 and with one decimal place.
Great, thanks for the info. In that case I guess instead of a “gauge” it will be better to simply have a field for it with the actual number, color-coded based on the actual value.
OK, so I added UV, this version shows perfectly on a screen with width >= 1280 and height >1200 (no need to scroll). The width should be ok for most monitors, I will also make a smaller version for smaller screens.
Now the question is whether this really includes everything that is necessary. As mentioned above, individual gauges can be clicked to view more info, records and graphs button triger a dialog box with basically all the info that is available through clientraw.
Once I am certain that nothing needs to be added in terms of content, I will start working on the actual PHP to plug in real values and then finally once that is done, I will work on the design - make smaller versions and also “material design” version with less colors and 3D effects, so that everyone can choose whatever they like, I can even make the colors easily customizable in some sort of setting at the top, which will also include ability to set units etc.
Thanks a lot Javier, but I guess I need the other clientraws as well, as far as I know, WDL uses all the (I think 4) client raws, so that you have data for all the graphs, gauges etc. that you can see in the demo.