Vaadin Charts. item Name position

Hello together,

how can i move the item Name from a pie chart inside the piece?

Hi Christian

To do that you should set a negative distance to the datalabels. Here’s a code example doing it:

PlotOptionsPie plotOptions = new PlotOptionsPie(); plotOptions.getDataLabels().setDistance(-30); chart.getConfiguration().setPlotOptions(plotOptions); Hope this helps