Comments (3)
Hello!
I noticed that because we are using knots, the legend for the windRose overlaps a lot on mobile. Also, seeing "knots" so many times seems redundant.
I was wondering if it would be possible to remove the unit (leaving just the range in numbers)?
I added a new configuration, windRose_legend_show_units
. When set to True, the unit labels are not shown in the legend. Instead, the unit is shown once above the legend:
This should hopefully fix the overlapping text. The new configuration will be included in the next upcoming release!
I also removed the units from the ticks on Gauges, for a cleaner look but I couldn't figure how to do it on the windRose.
May I ask, how you did this? Probably this should be also configurable?
from weewx-wdc.
That looks great!
For the Gauge, I went in the javascript code in main.js and removed the part where it adds the unit to each tick. It was challenging to find as it was minified, but I figured it out. It would definitely be great if it could be configured.
I love also the new option for the legend position. It was also bothering me as it was often too close to the graphs.
from weewx-wdc.
For the Gauge, I went in the javascript code in main.js and removed the part where it adds the unit to each tick. It was challenging to find as it was minified, but I figured it out. It would definitely be great if it could be configured.
Sounds like a bit pain in the... I added hide_tick_unit
for configuring this, will be included in 3.5.0, too.
I love also the new option for the legend position. It was also bothering me as it was often too close to the graphs.
Great, happy to hear that!
from weewx-wdc.
Related Issues (20)
- [BUG] year-%Y.html.tmpl fails when changing group_speed to knots in weewx.conf HOT 2
- Update `windGust` display in forecast table
- Default dark mode HOT 4
- Timestamp adjustment in the diagram HOT 6
- Colored Temperature HOT 6
- wee_reports : wee_reports: command not found HOT 2
- Modal optimizations
- [BUG] Reason: '<' not supported between instances of 'NoneType' and 'float' in the skins/weewx-wdc/year-%Y.html.tmpl file HOT 23
- [BUG] Stat tile on page Today using custom data binding does not appear if the same observation does not exist in main data binding HOT 3
- [BUG] Small Error In Upgrade Instructions HOT 1
- Add a date picker for selecting an Archive day HOT 1
- [BUG] Helper text in Archive day dropdown HOT 3
- Add Moon phases translations
- Make climatological days configurable HOT 2
- [BUG] gauges updates from MQTT wrong unit HOT 1
- [BUG] FileNotFoundError, wdc tries to pull files from the wrong skin dir? HOT 10
- [BUG] Latest WDC not working with latest Weewx HOT 3
- [BUG] Full screen graphs not working in mobile version
- [BUG] Display Error Gauges Feature Text (DE) HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from weewx-wdc.