Replies: 1 comment
-
Maybe you are looking for the Or you can use the const chart = new Chart('canvas', {
type: 'scatter',
data: {...},
options: {
scales: {
x: {
afterBuildTicks(scale) { scale.ticks = [100,200,300]; }
ticks: {
includeBounds: false
}
}
}
}
}); |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Documentation Is:
Please Explain in Detail...
When I set only min and max values ticks are unequal and last tick is ugly
It is not clear why I can't provide my own array of ticks it is missing in the docs
Your Proposal for Changes
Ability to add own tick array
OR
write in detail how could I make auto equal steps without cutted last and first tick
Example
No response
Beta Was this translation helpful? Give feedback.
All reactions