Use ticks.stepSize instead of time.stepSize in time scales
See original GitHub issueFeature Proposal
As reportedin SO - ChartJs, stepSize doesn’t working for type ‘day’, the stepSize
option must be defined in time
options node. It could be misleading having the same option for ticks
node with the same meaning.
Possible Implementation
Remove the stepSize
option from time and use the stepSize
of the ticks node. It’s breaking change.
Issue Analytics
- State:
- Created a year ago
- Comments:33 (12 by maintainers)
Top Results From Across the Web
ChartJs, stepSize doesn't working for type 'day' - Stack Overflow
The stpeSize option, used to calculate the differences among ticks, must be defined in time node and not in the ticks: EDIT: the...
Read more >Getting Started With Chart.js: Axes and Scales - Code Tutsplus
The step size and the maximum number of ticks on the scale can be specified using the stepSize and maxTicksLimit keys. These options...
Read more >scale.ticks / D3 - Observable
The tick format provided by time scales ignores the specified count; the returned string is based solely on the given time. This is...
Read more >Scale | Vega-Lite
Example: Customizing Domain for a Time Scale; Example: Clipping or ... the step size used to extend the bounds, guaranteeing that the returned...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@stockiNail I am delighted! Cool! Yes! This is what I needed! You are a true professional! I am eternally grateful to you.
@stockiNail thank you!