.setFormatterJsFunc(
"function() {"
+ " return '' + this.series.name +': '+ this.y +' millions';"
+ "}");
BarConfig barCfg = new BarConfig();
barCfg.setDataLabel(new DataLabel());
chartConfig.addSeriesConfig(barCfg);
Legend legend = new Legend();
legend.setLayout(Layout.VERTICAL);
legend.setPosition(new Position());