Chart.js: How can I support Multi language(i18n)

Created on 12 Apr 2017  路  11Comments  路  Source: chartjs/Chart.js

New feature:
Can we support multi language (I18N) and RTL (right to left)?

support

Most helpful comment

Adding dir="rtl" to canvas tag does not work with version 2.7.2 too

All 11 comments

@Mignon-han you can change the languages by changing the callbacks that generate english text. For RTL languages see https://github.com/chartjs/Chart.js/issues/1916

@etimberg Thanks! I will have a try.

Closing as answered

Adding dir="rtl" doesn't work with version 2.7.1

Adding dir="rtl" to canvas tag does not work with version 2.7.2 too

@etimberg Hello Evert, as it is confirmed by others, the provided answer doesn't seem to work anymore.

Adding dir="rtl" to canvas tag does not work with version 2.8 too

Any update? I am also facing this issue.

Is there any way to shift chart axis to RTL

Adding dir="rtl" to canvas tag does not work with version 2.9 too

@etimberg Can you please look into it? dir="rtl" does not work in the latest version. Anything we need to change?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

gabrieldesouza picture gabrieldesouza  路  3Comments

SylarRuby picture SylarRuby  路  3Comments

nanospeck picture nanospeck  路  3Comments

JewelsJLF picture JewelsJLF  路  3Comments

joebirkin picture joebirkin  路  3Comments