tilekus
Posts: 1
Joined: Mon Nov 19, 2018 11:03 am

Translate Range selector and tooltip dates

Hello,
i want to translate these parts of chart http://prntscr.com/lk6pnm, but i don't know why translations not working.
I prepared jsfiddle with my settings and sample of my data https://jsfiddle.net/qh0rz274/1/
Thank you
bastss
Site Admin
Posts: 1192
Joined: Wed Oct 17, 2018 10:59 am

Re: Translate Range selector and tooltip dates

Hello tilekus!

Your translation doesn't work because in your example lang property is defined inside chart constructor. To translate chart, lang feature has to be defined in setOptions constructor, just like this example: http://jsfiddle.net/Bastss/2ejm7u41/. In addition, properties like exportButtonTitle or printButtonTitle: doesn't exist in API documentation. https://api.highcharts.com/highstock/lang.

Pozdrawiam serdecznie! :)
Sebastian Wędzel,
Highcharts Developer

Return to “Highcharts Stock”