Hi ervery one,
I have a question regarding the navigtor of a chart with a timeline.
I want to change the format of the timeline (e.g. 12. Dec → 12.Dez).
But I have no clue how to do it.
Thank you very much in advance!
Hi ervery one,
I have a question regarding the navigtor of a chart with a timeline.
I want to change the format of the timeline (e.g. 12. Dec → 12.Dez).
But I have no clue how to do it.
Thank you very much in advance!
Hello Michael,
maybe this one helps to i18n your charts in general:
import com.vaadin.addon.charts.model.Lang;
import com.vaadin.addon.charts.ChartOptions;
private static void setChartLanguage() {
final Lang lang = new Lang();
lang.setNoData("Es gibt momentan keine Daten, die angezeigt werden können.");
lang.setMonths(new String { "Januar", "Februar", "März", "Apex", "Mai", "Juni", "Juli", "August",
"September", "Oktober", "November", "Dezember" });
lang.setShortMonths(
new String { "Jan", "Feb", "Mär", "Ape", "Mai", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dez" });
ChartOptions.get().setLang(lang);
}
Hi Christian,
thank you very much.
This did help a lot!