# Dashboard 2 Beta development

**URL:** <https://discourse.nodered.org/t/dashboard-2-beta-development/83550>\
**Category:** Dashboard\
**Tags:** dashboard-2\
**Created:** [9 December 2023 10:57 UTC](https://discourse.nodered.org/t/dashboard-2-beta-development/83550 "2023-12-09T10:57:31Z")\
**Posts on this page:** 20\
**Page:** 8

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [4 January 2024 16:58 UTC](https://discourse.nodered.org/t/dashboard-2-beta-development/83550/141 "2024-01-04T16:58:33Z")

</div>

do you have to send all that with every point you send ? how do I just add a new single data point to solar for example ?

---

<div class="post-metadata">

**Author:** ![Paul-Reed](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/paul-reed/32/66906_2.png) [@Paul-Reed](https://discourse.nodered.org/u/Paul-Reed)\
**Post date:** [4 January 2024 17:36 UTC](https://discourse.nodered.org/t/dashboard-2-beta-development/83550/142 "2024-01-04T17:36:24Z")

</div>

> [@dceejay](#):
>
> do you have to send all that with every point you send ?

In the above example, 4 lines = 4 datapoints with a shared timestamp, so yes.

> [@dceejay](#):
>
> how do I just add a new single data point to solar for example ?

A long time since I've used Flexdash, but I think is was something like `[null,null,540,null]`

---

<div class="post-metadata">

**Author:** ![joepavitt](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/joepavitt/32/59722_2.png) [@joepavitt](https://discourse.nodered.org/u/joepavitt)\
**Post date:** [5 January 2024 15:55 UTC](https://discourse.nodered.org/t/dashboard-2-beta-development/83550/143 "2024-01-05T15:55:12Z")

</div>

Another highly requested feature ([PR](https://github.com/FlowFuse/node-red-dashboard/pull/474)) has just been added to `ui-chart` in the [0.11.3](https://github.com/FlowFuse/node-red-dashboard/releases/tag/v0.11.3) release - "Append"/"Replace" option, also configurable on a message-by-message basis.

---

<div class="post-metadata">

**Author:** ![Buckskin](https://avatars.discourse-cdn.com/v4/letter/b/b9e5f3/32.png) [@Buckskin](https://discourse.nodered.org/u/Buckskin)\
**Post date:** [5 January 2024 17:06 UTC](https://discourse.nodered.org/t/dashboard-2-beta-development/83550/144 "2024-01-05T17:06:57Z")

</div>

One small snag with the chart Point Style, it doesn't set to anything other than 'Circle'. I have tried setting it to 'None' but it will not 'take'.

I got round the problem by setting Radius to 0, which does work

PS Latest v0.11.3

---

<div class="post-metadata">

**Author:** ![Paul-Reed](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/paul-reed/32/66906_2.png) [@Paul-Reed](https://discourse.nodered.org/u/Paul-Reed)\
**Post date:** [5 January 2024 20:52 UTC](https://discourse.nodered.org/t/dashboard-2-beta-development/83550/145 "2024-01-05T20:52:06Z")

</div>

> [@Buckskin](#):
>
> it doesn't set to anything other than 'Circle'

I'm able to select the full range of options (star, triangle, rectangle etc), but selecting **none** results in circle points, instead of none.  
(setting the size to 0 however gets rid of them)

![circles](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/5/6/568254c19933930f8a030a0635fa3555b558cec5.jpeg)

---

<div class="post-metadata">

**Author:** ![Buckskin](https://avatars.discourse-cdn.com/v4/letter/b/b9e5f3/32.png) [@Buckskin](https://discourse.nodered.org/u/Buckskin)\
**Post date:** [5 January 2024 21:25 UTC](https://discourse.nodered.org/t/dashboard-2-beta-development/83550/146 "2024-01-05T21:25:54Z")

</div>

Yes I discovered that setting Radius to 0 works.

If you go back into the node after setting `Point Style` to ' **None**' you will see that it has gone back to ' **Circle**'

---

<div class="post-metadata">

**Author:** ![Paul-Reed](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/paul-reed/32/66906_2.png) [@Paul-Reed](https://discourse.nodered.org/u/Paul-Reed)\
**Post date:** [5 January 2024 21:43 UTC](https://discourse.nodered.org/t/dashboard-2-beta-development/83550/147 "2024-01-05T21:43:59Z")

</div>

> [@Buckskin](#):
>
> If you go back into the node after setting `Point Style` to ' **None**' you will see that it has gone back to ' **Circle**'

Isn't that what I said?

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [5 January 2024 21:50 UTC](https://discourse.nodered.org/t/dashboard-2-beta-development/83550/148 "2024-01-05T21:50:09Z")

</div>

> [@Buckskin](#):
>
> One small snag with the chart Point Style, it doesn't set to anything other than 'Circle'. I have tried setting it to 'None' but it will not 'take'.

For me it is only 'None' that doesn't stick. The others work ok.

---

<div class="post-metadata">

**Author:** ![Buckskin](https://avatars.discourse-cdn.com/v4/letter/b/b9e5f3/32.png) [@Buckskin](https://discourse.nodered.org/u/Buckskin)\
**Post date:** [5 January 2024 22:30 UTC](https://discourse.nodered.org/t/dashboard-2-beta-development/83550/149 "2024-01-05T22:30:40Z")

</div>

Sorry, thought you meant that setting to None also resulted in circles, rather than the setting had returned to Circles, my bad.

---

<div class="post-metadata">

**Author:** ![Buckskin](https://avatars.discourse-cdn.com/v4/letter/b/b9e5f3/32.png) [@Buckskin](https://discourse.nodered.org/u/Buckskin)\
**Post date:** [5 January 2024 22:31 UTC](https://discourse.nodered.org/t/dashboard-2-beta-development/83550/150 "2024-01-05T22:31:20Z")

</div>

Have to admit that I hadn't tried any other setting.

---

<div class="post-metadata">

**Author:** ![joepavitt](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/joepavitt/32/59722_2.png) [@joepavitt](https://discourse.nodered.org/u/joepavitt)\
**Post date:** [10 January 2024 09:48 UTC](https://discourse.nodered.org/t/dashboard-2-beta-development/83550/151 "2024-01-10T09:48:30Z")

</div>

Have raised it here - [UI Chart - Point Style "none" doesn't work · Issue #480 · FlowFuse/node-red-dashboard · GitHub](https://github.com/FlowFuse/node-red-dashboard/issues/480)

Thanks for sharing

---

<div class="post-metadata">

**Author:** ![diegodamaceno](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/diegodamaceno/32/85742_2.png) [@diegodamaceno](https://discourse.nodered.org/u/diegodamaceno)\
**Post date:** [18 January 2024 16:35 UTC](https://discourse.nodered.org/t/dashboard-2-beta-development/83550/152 "2024-01-18T16:35:07Z")

</div>

Good afternoon everybody. I've been taking some time to watch corrections and improvements in the development of the project. Some issues are still blocking my development and I wanted to know if anyone else needs the implementations I suggest so we can open requests or if I could be wrong in what I want.  
1 - Multiple outputs in the ui-templat node as we can do with the functions in node-red. This would simplify the creation of simple buttons that need to separate on and off to turn something on.  
2 - Make the ui-template node not allow the direct passage of the input message to the output, thus avoiding loops.  
3 - Support loading status on page updates in the ui-template node. If today I mount a simple button there, when I update the page, I can't find a way to make it remember if it was on or off.  
4 - I didn't discover or find a way to modify the general look of the page. Add background image. adjust borders and other group settings, pages and other things. This is essential for commercial work with node-red.  
--- I'll leave these for everyone's reflection and see if I already have what I need to start working on this project.

---

<div class="post-metadata">

**Author:** ![joepavitt](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/joepavitt/32/59722_2.png) [@joepavitt](https://discourse.nodered.org/u/joepavitt)\
**Post date:** [24 January 2024 14:03 UTC](https://discourse.nodered.org/t/dashboard-2-beta-development/83550/153 "2024-01-24T14:03:02Z")

</div>

> [@diegodamaceno](#):
>
> 3 - Support loading status on page updates in the ui-template node. If today I mount a simple button there, when I update the page, I can't find a way to make it remember if it was on or off.

If you're using `this.send()` then the latest message will be stored into our client-side datastore and can be accessed straight by using `msg` - [see docs](https://dashboard.flowfuse.com/nodes/widgets/ui-template.html#reading-node-red-input).

---

<div class="post-metadata">

**Author:** ![joepavitt](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/joepavitt/32/59722_2.png) [@joepavitt](https://discourse.nodered.org/u/joepavitt)\
**Post date:** [24 January 2024 14:04 UTC](https://discourse.nodered.org/t/dashboard-2-beta-development/83550/154 "2024-01-24T14:04:26Z")

</div>

> [@diegodamaceno](#):
>
> 4 - I didn't discover or find a way to modify the general look of the page. Add background image. adjust borders and other group settings, pages and other things. This is essential for commercial work with node-red.

I have improved this a little with [Theming updates by joepavitt · Pull Request #514 · FlowFuse/node-red-dashboard · GitHub](https://github.com/FlowFuse/node-red-dashboard/pull/514) - which will go into a release this week.

Further customisation can always be done with defining your own CSS - I'll put together a few examples in the docs for useful CSS overrides you might want to do.

---

<div class="post-metadata">

**Author:** ![hotNipi](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/hotnipi/32/383_2.png) [@hotNipi](https://discourse.nodered.org/u/hotNipi)\
**Post date:** [24 January 2024 14:12 UTC](https://discourse.nodered.org/t/dashboard-2-beta-development/83550/155 "2024-01-24T14:12:21Z")

</div>

-\> using `msg` - see docs

Link does not lead to docs.

---

<div class="post-metadata">

**Author:** ![joepavitt](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/joepavitt/32/59722_2.png) [@joepavitt](https://discourse.nodered.org/u/joepavitt)\
**Post date:** [24 January 2024 14:15 UTC](https://discourse.nodered.org/t/dashboard-2-beta-development/83550/156 "2024-01-24T14:15:20Z")

</div>

Woops - locally working on the docs, and copied the wrong tab - thanks for pointing it out.

---

<div class="post-metadata">

**Author:** ![diegodamaceno](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/diegodamaceno/32/85742_2.png) [@diegodamaceno](https://discourse.nodered.org/u/diegodamaceno)\
**Post date:** [24 January 2024 18:30 UTC](https://discourse.nodered.org/t/dashboard-2-beta-development/83550/157 "2024-01-24T18:30:19Z")

</div>

I really appreciate the answer. Your patience has been gold. If you can help me adjust this feature on this button, I will multiply all of this in my work. Sorry I can't reach your genius, but I'm visual lol

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/d/b/dba0615171ed21265c5618df641417cb397b405a.png)

```auto
<template>
    <v-btn ref="botao" style="display: flex; flex-direction: column; margin: auto; height: 75px; width: 75px; background-color: #4F4F4F; color: #000000; border: 1px solid #000000; font-size: 14px; border-radius: 18px;" stacked @click="alternar">
        Externa
        <v-icon ref="icone" style="font-size: 40px;">mdi-beach</v-icon>
    </v-btn>
</template>

<script>
    export default {
        data() {
            return {
                chave: 'a2'
            };
        },
        methods: {
            alternar: function () {
                if (window.localStorage.getItem(this.chave) === 'ON') {
                    this.desligar();                    
                } else if (window.localStorage.getItem(this.chave) === 'OFF') {
                    this.ligar();                    
                } else {
                    this.desligar();
                }
            },
            ligar: function () {            
                window.localStorage.setItem(this.chave, 'ON');
                this.$refs.icone.$el.style.color = '#BD9608';
                this.$refs.icone.$el.style.textShadow = '0px 0px 10px #BD9608'; 
                if (window.localStorage.getItem(this.chave) === 'OFF') {
                    this.send({ status: 'ON' });           
                }
            },
            desligar: function () {                
                window.localStorage.setItem(this.chave, 'OFF');
                this.$refs.icone.$el.style.color = '#A9A9A9';
                this.$refs.icone.$el.style.textShadow = '0px 0px 0px';
                if (window.localStorage.getItem(this.chave) === 'ON') {
                    this.send({ status: 'OFF' });           
                }
            },
            setState (value) {
                if (value === 'ON') {                    
                    this.ligar();
                } else if (value === 'OFF') {                    
                    this.desligar();
                }
            }
        },
        mounted () {            
            this.setState(window.localStorage.getItem(this.chave));            
            this.$socket.on("msg-input:" + this.id, (msg) => {
                this.setState(msg.payload);
            });               
        }
    }
</script>

```

In this example, this already works but I use browser resources to remember the state of the button when updating the page. If you can convert to make use of your method I would appreciate it.

```auto
<template>
    <v-btn ref="botao" style="display: flex; flex-direction: column; margin: auto; height: 75px; width: 75px; background-color: #4F4F4F; color: #000000; border: 1px solid #000000; font-size: 14px; border-radius: 18px;" stacked @click="alternar">
        Externa
        <v-icon ref="icone" style="font-size: 40px; color: #A9A9A9">mdi-beach</v-icon>
    </v-btn>
</template>

<script>
export default {  
  methods: {
    alternar: function () {
      if (this.msg === 'ON') {
        this.desligar();
      } else if (this.msg === 'OFF') {
        this.ligar();
      } else {
        this.desligar();
      }
    },
    ligar: function () {
      this.$refs.icone.$el.style.color = '#BD9608';
      this.$refs.icone.$el.style.textShadow = '0px 0px 10px #BD9608';
    },
    desligar: function () {
      this.$refs.icone.$el.style.color = '#A9A9A9';
      this.$refs.icone.$el.style.textShadow = '0px 0px 0px';
    },
  },
  mounted() {
    this.$socket.on("msg-input:" + this.id, (msg) => {
      if (msg.payload === 'ON') {
        this.ligar();
      } else if (msg.payload === 'OFF') {
        this.desligar();
      }
    });
  },
};
</script>

```

I'm here if I'm understanding correctly.

---

<div class="post-metadata">

**Author:** ![cta](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/cta/32/86873_2.png) [@cta](https://discourse.nodered.org/u/cta)\
**Post date:** [25 January 2024 07:47 UTC](https://discourse.nodered.org/t/dashboard-2-beta-development/83550/158 "2024-01-25T07:47:15Z")

</div>

Hello everyone

Does someone know a way of using images or svg stored on the node-red server in the new dashboard?

Couldn't find any examples of it.

Thanks in advance

---

<div class="post-metadata">

**Author:** ![hotNipi](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/hotnipi/32/383_2.png) [@hotNipi](https://discourse.nodered.org/u/hotNipi)\
**Post date:** [25 January 2024 08:04 UTC](https://discourse.nodered.org/t/dashboard-2-beta-development/83550/159 "2024-01-25T08:04:37Z")

</div>

It works pretty much same. Node-RED serves from shared folder and D2.0 is able to reach stuff.

---

<div class="post-metadata">

**Author:** ![joepavitt](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/joepavitt/32/59722_2.png) [@joepavitt](https://discourse.nodered.org/u/joepavitt)\
**Post date:** [25 January 2024 09:46 UTC](https://discourse.nodered.org/t/dashboard-2-beta-development/83550/160 "2024-01-25T09:46:59Z")

</div>

Hey Diego, happy to help, althgough I may have missed out a little detail in my understanding of your template. Are you sending on any messages _from_ this `ui-template`?

[Previous page](https://discourse.nodered.org/t/dashboard-2-beta-development/83550.md?page=7)

[Next page](https://discourse.nodered.org/t/dashboard-2-beta-development/83550.md?page=9)
