Chart Elements Have no Visible Property?

I need to be able to create a chart with no title or annotation labels, or point labels: in fact, no labelling of any kind. The chart body should take up the entire area designated for the chart, but I can’t find a way to do this.

Is it possible with Vaadin charts? The api for title, etc don’t seem to have a visible or showing property, and setting the title to null leaves it at the default.

Hi,

you can disable the chart title with

chart.getConfiguration().setTitle(""); and you can get rid of the tooltips with

chart.getConfiguration().getTooltip().setEnabled(false);

If you want to get rid of series legends, you can do that with setShowInLegend(false) for the PlotOptions.

I think that should cover all of the labels in the chart. Hope this helps,
Olli