WebChart legend won't show up

This is too odd. I can’t get the legend to show up for a fairly simple bar chart.

The built-in example works fine.

Any suggestions for what might cause this?

Is there enough space for it to appear!

yeah I can make it full screen and it still doesn’t. show.

I also put a break point in to check the properties and it shows hasLegend is true.

SOLUTION: add a ChartLinearDataset, not WebChartLinearDataset.

that’s annoying

1 Like

Thanks for posting the solution @Chris_Halford, I’ve created an Issue to fix it.

Issue #80402 - WebChartLinearDataset isn’t showing its label on WebChart