After migrating to Charts 3.0.0, we noticed that there is no option to show the legend of the PlotOptionsErrorbar. Can someone advise me how to make a workaround to show the legend for the PlotOptionsErrorbar?
You’re right, PlotOptionsErrorbar is missing the showInLegend property. Could you create an issue for the missing API in
https://dev.vaadin.com/ ?
In the meantime if you want to show legend for all series you can set the showInLegend porperty using PlotOptionSeries that will affect all series in the plot like this:
If you only want to enable it for some series you can enable it for all on the same way and disable for each series you don’t want to show in the legend.
If your case is more complex and you want to show some error bars in the legend and some others not there are other workarounds but it gets a bit more messy.