I have 6 values (numer of particles of a certain size) that I want to display in a pie-chart.
In Dashboard 1 that works perfect, you get a nice pie-chart with the contribution of the range of particle size. In Dashboard 2 I cannot get it to work.
The values come form 6 MQTT node each with an own topic.
What to choose in the form to get a nice pie-chart?
Below the Dashboard1 page
See Chart ui-chart | Node-RED Dashboard 2.0 for data format options
Then if you still can't get it to work show us what the mqtt data looks like.
[Edit] Also tell us what is wrong with the output you have shown. The pie chart seems to match the data shown below it.
[More Edit] Oh, that is what you got from D1.
This is what I feed into the chart:
15-3-2026, 16:14:01node: debug 90PMS5003/data.particles_03um : msg : Object
{ topic: "PMS5003/data.particles_03um", payload: 600, qos: 0, retain: false, _topic: "PMS5003/data.particles_03um" … }
15-3-2026, 16:14:01node: debug 90PMS5003/data.particles_05um : msg : Object
{ topic: "PMS5003/data.particles_05um", payload: 164, qos: 0, retain: false, _topic: "PMS5003/data.particles_05um" … }
15-3-2026, 16:14:01node: debug 90PMS5003/data.particles_10um : msg : Object
{ topic: "PMS5003/data.particles_10um", payload: 15, qos: 0, retain: false, _topic: "PMS5003/data.particles_10um" … }
15-3-2026, 16:14:01node: debug 90PMS5003/data.particles_25um : msg : Object
{ topic: "PMS5003/data.particles_25um", payload: 3, qos: 0, retain: false, _topic: "PMS5003/data.particles_25um" … }
15-3-2026, 16:14:01node: debug 90PMS5003/data.particles_50um : msg : Object
{ topic: "PMS5003/data.particles_50um", payload: 1, qos: 0, retain: false, _topic: "PMS5003/data.particles_50um" … }
15-3-2026, 16:14:01node: debug 90PMS5003/data.particles_100um : msg : Object
{ topic: "PMS5003/data.particles_100um", payload: 0, qos: 0, retain: false, _topic: "PMS5003/data.particles_100um" … }
Please don't post images. Use text copy/paste.
The docs are not perfect until one has a bit of experience. Try it like this.
The X value identifies the key and Y value represents the value. You only want a simple pie chart (not concentric arcs) so Series is none.
You can clear it by passing in an empty array.
I deleted the chart I had and made a new one with the above settings and that worked.
Thanks

