You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
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.
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.
The text was updated successfully, but these errors were encountered: