chartjs / chartjs/Chart.js

padding between the Y axis and the first X axis tick

Open
#10,233 2 comments 1 reaction 0 assignees View on GitHub
type: support
Dominant language
JavaScript
Stars
67.7k
Forks
11.9k
Avg merge
7h 39m
Merged PRs (30d)
5

Description

### Expected behavior

padding between the Y axis and the first X axis tick is not working as expected in previous version it is working. In latest version it is moving y-axis also . I have requirement to have some space between Y-axis and x- axis first tick mark. But It is not working as expected.
Below is the example which is working . I want same behavior in latest version

https://jsfiddle.net/AbhishekAdusumilli/hknbd7c0/5/

### Current behavior

padding between the Y axis and the first X axis tick is not working as expected in previous version it is working. In latest version it is moving y-axis also . I have requirement to have some space between Y-axis and x- axis first tick mark. But It is not working as expected.
Below is the example which is working . I want same behavior in latest version

https://jsfiddle.net/AbhishekAdusumilli/hknbd7c0/5/

### Reproducible sample

https://jsfiddle.net/AbhishekAdusumilli/hknbd7c0/5/

### Optional extra steps/info to reproduce

_No response_

### Possible solution

_No response_

### Context

_No response_

### chart.js version

v3.7.0

### Browser name and version

_No response_

### Link to your project

_No response_

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.