chartjs / chartjs/Chart.js

Sort order of stacked scales is inconsistent

Open
#9,918 4 comments 2 reactions 0 assignees View on GitHub
type: documentation
Dominant language
JavaScript
Stars
67.7k
Forks
11.9k
Avg merge
7h 39m
Merged PRs (30d)
5

Description

>It works. Setting the weight of the left category scale to 2 moves it down.
>I didn't quite understand the documentation in that point. Also missing is the information in >which order it is sorted.
>
>_Originally posted by @pmbert in >https://github.com/chartjs/Chart.js/discussions/9911#discussioncomment-1714252_

When stacked, scales are not sorted in a very obvious manner.
- Left scales are sorted top to bottom.
- Top scales right to left.
- Right scales are sorted bottom to top.
- Bottom scales are sorted left to right.

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.