chartjs / chartjs/Chart.js

Option to display y axis title vertically

Open
#10,298 3 comments 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

Thank you for creating such a useful library! So far, the development experience has been amazing!

Today, I would like to request a feature where I can add an option to show y axis title vertically. Some languages such as Japanese and Chinese can be written vertically and in some cases it is more desired to do so.

This is an example of a Japanese text shown horizontally as a y axis title.

Screen Shot 2022-04-15 at 10 27 54

I would like to show this title vertically, just like `text-orientation: upright;` does for css.

Having another option on https://www.chartjs.org/docs/latest/api/interfaces/TitleOptions.html might be nice.

Thanks for your time! and looking forward to see if this is possible!

### Possible Implementation

I'm not an expert on this, but maybe this might help?

https://stackoverflow.com/a/5400970/9718549

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.