node-red-dashboard
node-red-dashboard copied to clipboard
Chart node legend size
Description
Chart node legend is currently displayed by rectangular bar:
The rectangular bar in the legend takes a lot of space.
With a more square spaced legend it would take less space:
Have you provided an initial effort estimate for this issue?
I have provided an initial effort estimate
I think that this wouild be a great improvement.
Agree this would make a good improvement - the underlying charting library (https://www.chartjs.org/docs/latest/configuration/legend.html) doesn't support this is a default option, but they do support custom legends, so it's something we'll have to investigate.
legend -> labels
options:{
plugins: {
legend: {
display: true,
position: 'top',
labels:{
boxHeight:1,
boxWidth:10,
}, ...