chartjs / chartjs/Chart.js

offset y axis by value

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

My suggestion is that the offset becomes an number. Right now I try to change ```axis: Scale, axis._startValue,
axis._endValue, axis._valueRange``` but I am overwritten evertime something is drawed. Maybe there is way but it is very difficult. I need to offset the y-axis by a lot more than the standart true gives me.
```
y: {
offset: boolean
}
becomes
y: {
offset: number
}
```

### Possible Implementation

Change offset to take a value.

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.