# Linediagram wit Milestones

**URL:** https://discourse.nodered.org/t/linediagram-wit-milestones/48548
**Category:** General
**Created:** [18 July 2021 16:40 UTC](https://discourse.nodered.org/t/linediagram-wit-milestones/48548 "2021-07-18T16:40:16Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![edstobi](https://avatars.discourse-cdn.com/v4/letter/e/aca169/32.png) [@edstobi](https://discourse.nodered.org/u/edstobi)
#### Post date: [18 July 2021 16:40 UTC](https://discourse.nodered.org/t/linediagram-wit-milestones/48548/1 "2021-07-18T16:40:16Z")

</div>

Hello  
I am measureing the temperature of my pond and output it in a lieniendiagram over 2 weeks.  
I have always had points that I had a sudden drop in temperature. Meanwhile I know that most of the drops throu the automatic refilling of the water comes.  
Now I have a question about the diagram

1. I can add a line or point in the diagram which one can recognize, I think that a vertical lienie is best in the 2 week period to recognize the action.
2. since I am currently expanding my node red and occasionally restartr, my data from 2 weeks are gone and I can not test a view over 2 weeks. Is there a way that one makes the data for this period permanently without this always write/read to a database?  
THX

---

<div class="post-metadata">

### Author: ![jbudd](https://avatars.discourse-cdn.com/v4/letter/j/5f8ce5/32.png) [@jbudd](https://discourse.nodered.org/u/jbudd)
#### Post date: [18 July 2021 18:18 UTC](https://discourse.nodered.org/t/linediagram-wit-milestones/48548/2 "2021-07-18T18:18:00Z")

</div>

You need a way to make the data persistent and the obvious way is a database. So why don't you want to use a database?

What platform is Node-RED running on?

---

<div class="post-metadata">

### Author: ![edstobi](https://avatars.discourse-cdn.com/v4/letter/e/aca169/32.png) [@edstobi](https://discourse.nodered.org/u/edstobi)
#### Post date: [18 July 2021 19:09 UTC](https://discourse.nodered.org/t/linediagram-wit-milestones/48548/3 "2021-07-18T19:09:49Z")

</div>

I am running raspberry and having a maria db on synology NAS.  
My Pi 4 is running on ssd and having 80 GB frees space to avoid network traffic.

---

<div class="post-metadata">

### Author: ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)
#### Post date: [18 July 2021 19:22 UTC](https://discourse.nodered.org/t/linediagram-wit-milestones/48548/4 "2021-07-18T19:22:41Z")

</div>

so install sqlite on the pi and install node-red-node-sqlite in NR and use that to store the data. Then you you won't have a network issue

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)
#### Post date: [16 September 2021 19:23 UTC](https://discourse.nodered.org/t/linediagram-wit-milestones/48548/5 "2021-09-16T19:23:27Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
