chartjs / chartjs/Chart.js

X-Label Text Direction

Open
#11,637 1 comment 0 reactions 0 assignees View on GitHub
type: enhancement
Dominant language
JavaScript
Stars
67.7k
Forks
11.9k
Avg merge
7h 39m
Merged PRs (30d)
5

Description

### 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',
...
},
...
...
}
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.