trekawek / air-quality-info

An attractive way to display air quality in your neighbourhood.
Other
49 stars 16 forks source link

Fix initial graph range on user preference restoring #63 #64

Closed dblachut closed 3 years ago

trekawek commented 3 years ago

Thanks! I worked on the graph.js too in 9dc0c564f047ab24f704095972a14d4e389e856c, now the range is also persisted, similarly to what you've done with the avgType.

dblachut commented 3 years ago

I see, nice work with extracting the code to init and other separate functions. It gained a lot in readability.