I need to place some lines and other information on a chart that doesn't require a legend to be displayed. For example, these upper and lower limits are two lines. But the legend must be for other lines.
Here I would like to remove the "min" and "max" labels Legend, but leave their lines, and leave the label Voltage.
I tried passing different parameters to msg.ui_update.chartOptions but it doesn't work. Is it possible to do this or not?
For anyone not getting answers from the all mighty AI (suprise suprise), the docs do mention the how to perform runtime configuration updates:
msg.ui_update.chartOptions. Any of the options defined in the eCharts Documentation may be set...
I.e. the information is there!
However I totally appreciate this requires a leap of faith. It is such a difficult balance of keeping things (like the chart node settings) lean & mean for low-code purposes vs presenting hundreds of options vs what to leave to documentation.
The eCharts docs are extensive but not complete, unfortunately. For legend.data it does not explicitly say that if you have an array of series names it will show legends for those present and not for the rest. You have to read between the lines to work that out.