Chart.js icon indicating copy to clipboard operation
Chart.js copied to clipboard

X-Label Text Direction

Open joshkarges opened this issue 1 year ago • 1 comments

Feature Proposal

When rotating the x-labels past 90 degrees, the text direction should change so that the beginning of the label is against the axes. Instead it looks like this: image

I can't find an option in the documentation to flip this text direction. Is there a workaround for this?

Possible Implementation

options

{
  scales: {
    xAxes: {
      textDirection: 'forward' | 'backward',
      ...
    },
    ...
  ...
}

joshkarges avatar Jan 09 '24 19:01 joshkarges