Radius 65%, as created by you
Result: Legend and texts are visible. So what is expected.
New data injected
Result as above Okay
Cleared the widget.
Result: Widget cleared.
New data injected
Result: Legend is visible, but lower test (freemem) is missing.
The new data "Inject" gives a doughnut instead of a pie
Re-Inject your "Inject" node did not solve this.
Changed radius to 10% from 65%^ followed by a NR restart
Result as 4
Whatever I do now, I do not get a pie, always a doughnut.
Is there anything I can try? Anything you want to know?
A doughnut shape indicates that the chart thinks it is dealing with two (or more) series, one of them may be left over from a previous test.
If the widget has "series" set to a space, restart node- red and clear the browser cache.
I found it best not to "append" data sets but to "overwrite", which is why i previously suggested you should combine readings into a single message as an array of objects.
It may help to send an empty array before each inject to clear the chart.
Sending msg.ui_update options is not a one-time thing, it needs to be added to every message.