chartjs / chartjs/Chart.js

not work set align: 'inner'

Open
#11,141 2 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

### Expected behavior

not work set align: 'inner' for Y-axes. like that:
scales: {
y: {
ticks: {
align: 'inner',
...
},
},
but for X-axes all work correctly.
i try 4.21 and 4.1.2

Link to interactive example: https://codepen.io/ishtorman/pen/RwYbeZo

### Current behavior

i try 4.2.1 and 4.1.2 and 3.*

### Reproducible sample

https://codepen.io/ishtorman/pen/RwYbeZo

### Optional extra steps/info to reproduce

_No response_

### Possible solution

_No response_

### Context

_No response_

### chart.js version

v4.2.1

### Browser name and version

Chrome

### Link to your project

https://codepen.io/ishtorman/pen/RwYbeZo

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.