Column Chart number display

Hi everyone. Does anyone know how to change the number formatting in charts? I believe displaying numbers in thousands is for example “3K” by default since I haven’t done anything to it. Goal is to display it like 3000. Thanks in advance!
image.png

Chart c = new Chart(ChartType.COLUMN);
c.getConfiguration().addSeries(new ListSeries(1000, 3000, 10000));
var labels = new Labels();
labels.setFormat("{value}");
// or JS formatter function
// labels.setFormatter("function() {return this.value;}");
var yAxis = new YAxis();
yAxis.setLabels(labels);
c.getConfiguration().addyAxis(yAxis);