# Set range for graph

**URL:** https://forum.flowx.io/t/set-range-for-graph/604
**Category:** Bugs
**Created:** [May 1, 2020, 11:37pm UTC](https://forum.flowx.io/t/set-range-for-graph/604 "2020-05-01T23:37:34Z")
**Posts on this page:** 11
**Page:** 1

<div class="post-metadata">

### Author: ![Ohan](https://forum.flowx.io/user_avatar/forum.flowx.io/ohan/32/249_2.png) [@Ohan](https://forum.flowx.io/u/Ohan)
#### Post date: [May 1, 2020, 11:37pm UTC](https://forum.flowx.io/t/set-range-for-graph/604/1 "2020-05-01T23:37:35Z")

</div>

When I set range for “cloud”, “precipitation”, “pressure”, or “humidity”, that I all have in my first graph, then the change are seen directly on the graph, so far so good.

But when I set range for “temperature” or for “Wind mag” in my second graph, then it is only seen after a restart of the app.

---

<div class="post-metadata">

### Author: ![duane](https://forum.flowx.io/user_avatar/forum.flowx.io/duane/32/11_2.png) [@duane](https://forum.flowx.io/u/duane)
#### Post date: [May 2, 2020, 2:33am UTC](https://forum.flowx.io/t/set-range-for-graph/604/2 "2020-05-02T02:33:10Z")

</div>

Thanks. Will check it out.

---

<div class="post-metadata">

### Author: ![Ohan](https://forum.flowx.io/user_avatar/forum.flowx.io/ohan/32/249_2.png) [@Ohan](https://forum.flowx.io/u/Ohan)
#### Post date: [May 2, 2020, 6:14pm UTC](https://forum.flowx.io/t/set-range-for-graph/604/3 "2020-05-02T18:14:47Z")

</div>

> [@Ohan](#):
>
> then it is only seen after a restart of the app.

Or after just reloading the same location, by opening the list of places and taping the same location that is currently active.

---

<div class="post-metadata">

### Author: ![Alex](https://forum.flowx.io/user_avatar/forum.flowx.io/alex/32/273_2.png) [@Alex](https://forum.flowx.io/u/Alex)
#### Post date: [May 3, 2020, 6:09am UTC](https://forum.flowx.io/t/set-range-for-graph/604/4 "2020-05-03T06:09:46Z")

</div>

Or, by switching from portrait to landscape and then back again. Just needs a little kick-start. 😏

---

<div class="post-metadata">

### Author: ![tiwag](https://forum.flowx.io/user_avatar/forum.flowx.io/tiwag/32/25_2.png) [@tiwag](https://forum.flowx.io/u/tiwag)
#### Post date: [May 3, 2020, 6:32am UTC](https://forum.flowx.io/t/set-range-for-graph/604/5 "2020-05-03T06:32:58Z")

</div>

> [@Ohan](#):
>
> just reloading the same location, by opening the list of places and taping the same location that is currently active.

That’s also a quick way to get the missing update for rain radar data 🕶

---

<div class="post-metadata">

### Author: ![duane](https://forum.flowx.io/user_avatar/forum.flowx.io/duane/32/11_2.png) [@duane](https://forum.flowx.io/u/duane)
#### Post date: [May 3, 2020, 6:57am UTC](https://forum.flowx.io/t/set-range-for-graph/604/6 "2020-05-03T06:57:36Z")

</div>

Don’t over discuss this. It’s already fix in the code 🙂 I’m hoping to get a beta version out in a few hours.

---

<div class="post-metadata">

### Author: ![Ohan](https://forum.flowx.io/user_avatar/forum.flowx.io/ohan/32/249_2.png) [@Ohan](https://forum.flowx.io/u/Ohan)
#### Post date: [May 3, 2020, 9:00am UTC](https://forum.flowx.io/t/set-range-for-graph/604/7 "2020-05-03T09:00:15Z")

</div>

> [@Ohan](#):
>
> reloading the same location

> [@tiwag](#):
>
> also a quick way to get the missing update for rain radar data

This is good to know!

---

<div class="post-metadata">

### Author: ![tiwag](https://forum.flowx.io/user_avatar/forum.flowx.io/tiwag/32/25_2.png) [@tiwag](https://forum.flowx.io/u/tiwag)
#### Post date: [May 3, 2020, 9:24am UTC](https://forum.flowx.io/t/set-range-for-graph/604/8 "2020-05-03T09:24:24Z")

</div>

> [@duane](#):
>
> hoping to get a beta version out in a few hours.

Hope to see a bugfix for the wind bft range setting too 😉

---

<div class="post-metadata">

### Author: ![duane](https://forum.flowx.io/user_avatar/forum.flowx.io/duane/32/11_2.png) [@duane](https://forum.flowx.io/u/duane)
#### Post date: [May 3, 2020, 9:27pm UTC](https://forum.flowx.io/t/set-range-for-graph/604/9 "2020-05-03T21:27:06Z")

</div>

@tiwag, sorry the BFT is relatively difficult to do since it’s a special case, i.e., it’s been tacked on the side of the units conversion code and has resulted in “if-statements” in parts of the code.

And there just aren’t many users shouting about it compared to other things, e.g., sunrise/set, widget updates, notifications, etc…

If it would take a few minutes to fix, I would do it immediately. If it would take less than an hour, I’d do it reasonably soon, but it’s just one of those things.

It’s like spending an hour to peel peanuts to only have a half a cup of peanut which you eat in a minute - it’s just not fun.

---

<div class="post-metadata">

### Author: ![tiwag](https://forum.flowx.io/user_avatar/forum.flowx.io/tiwag/32/25_2.png) [@tiwag](https://forum.flowx.io/u/tiwag)
#### Post date: [May 4, 2020, 6:16am UTC](https://forum.flowx.io/t/set-range-for-graph/604/10 "2020-05-04T06:16:36Z")

</div>

@duane  
I’m developer of industrial embedded systems since 22 years and my experience is, that 95% of work had to be done for 5% of save and correct functionality …  
Don’t worry, I understand your point of view…

But just to think about. I gave you formulas for conversion between kt and bft. Wind range edit works fine with kt.  
But switching between the units from kt to bft doesn’t correctly switch the range in bft, so the bug must be somewhere in the conversion code…  
Which is somehow strange, because the display of the actual wind force in bft works fine …  
Nevertheless I’ve still hope to see it working once day 🕶

---

<div class="post-metadata">

### Author: ![duane](https://forum.flowx.io/user_avatar/forum.flowx.io/duane/32/11_2.png) [@duane](https://forum.flowx.io/u/duane)
#### Post date: [May 4, 2020, 6:38am UTC](https://forum.flowx.io/t/set-range-for-graph/604/11 "2020-05-04T06:38:50Z")

</div>

Thanks.

Half the time will be getting back up to speed. Remembering everything. But one thing I remember is the formula you sent, I wish I had that when I started.

The reason it’s breaking some places and not others is because of the “if BFT then to this” statements through the code.

I do believe it will be fixed via natural evolution. I’m often fixing parts of the code and merging others to make the code better. In the last beta release the “refactoring and tidying code” was exactly this. One day this will fall on the Units conversion and scales again.
