charts
charts copied to clipboard
Charts 4.2.0: cannot customize From/To labels
I expect the following code to customize the From/To labels in the range selector, but it doesn't work and the default "From"/"To" strings are shown anyways:
configuration.getLang().setRangeSelectorFrom("F2");
configuration.getLang().setRangeSelectorTo("T2");

I'll attach an example app shortly.
Hi @mvysny,
You may be able to set it through ChartOptions like so:
Lang lang = new Lang();
lang.setRangeSelectorFrom("F2");
lang.setRangeSelectorTo("T2");
ChartOptions options = ChartOptions.get();
options.setLang(lang);
This will set the same value for all charts on the project.