Vaadin Chart series color

Hi would like to ask you if is it possible to setup manually series color in Vaadin Charts for example in bar chart.

Hi Rafal,

Yes, you can set the colors manually in Vaadin Charts. You can specify them for a data series by calling

PlotOptionsBar plotOpts = new PlotOptionsBar(); plotOpts.setColor(new SolidColor("#00ff00")); // or SolidColor.LIME mySeries.setPlotOptions(plotOpts); HTH,
/Jonatan

Thank you!