rtl options for axis and labels
Currently, Chart.js supports right-to-left (RTL) layout for legends and tooltips, but other chart elements like axes, labels, and some other components still use left-to-right (LTR) format. This creates an inconsistency when building charts for RTL languages.
It would be helpful if Chart.js provided full RTL support for all chart elements, not just legends and tooltips. This would ensure that the entire chart aligns correctly for RTL languages, making it more cohesive and user-friendly.
If there's another solution or workaround to achieve this without needing options for every individual element, please let me know.
Maby I am understanding you wrong, in which case please correct me. But by default the labels for the ticks in the scales are centered. In which case it won't make a difference.
You can already set the alignment of the ticks to start or end instead of center I think will give you the same effect you are looking for.
https://www.chartjs.org/docs/4.4.6/samples/scale-options/ticks.html
I was referring to the axis. If the Y-axis is positioned on the left side in the LTR direction, it should shift to the right side in the RTL direction, if possible.
Currently, in RTL mode, I can see that the legends are adjusting their position according to the RTL direction, but the axis remain aligned with the LTR layout.