When I add data to pie chart with long label the label won’t wrap to several lines but labels are cut instead. Same problem occurs with legend. How I can fix this? See code below and attached screenshot.
I’m using Vaadin 6.8.15 and Vaadin Charts 1.1.9
public class TestWindow extends Window {
private static final long serialVersionUID = 1L;
public TestWindow() {
super();
setWidth(400, UNITS_PIXELS);
final Chart chart = new Chart();
chart.setSizeFull();
final Configuration conf = chart.getConfiguration();
conf.getChart().setType(ChartType.PIE);
final DataSeries series = new DataSeries();
series.add(new DataSeriesItem("Item with not so long title", 0.4f));
series.add(new DataSeriesItem("Item with also not so long title", 0.6f));
conf.setSeries(series);
addComponent(chart);
}
}