question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Use ticks.stepSize instead of time.stepSize in time scales

See original GitHub issue

Feature 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:closed
  • Created a year ago
  • Comments:33 (12 by maintainers)

github_iconTop GitHub Comments

2reactions
dwpointcommented, Dec 22, 2022

@stockiNail I am delighted! Cool! Yes! This is what I needed! You are a true professional! I am eternally grateful to you.

0reactions
dwpointcommented, Dec 23, 2022

@stockiNail thank you!

Read more comments on GitHub >

github_iconTop 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 >
Step Size - Chart.js
No information is available for this page.
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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found