Filter for ticks
Open
C-feature-request
- Dominant language
- JavaScript
- Stars
- 9.3k
- Forks
- 1.4k
- Avg merge
- 6d 16h
- Merged PRs (30d)
- 1
Description
What do you think about turning in addition `values` into somethink like filter of `x`? I mean the following possibility:
```
axis: {
x: {
tick: {
values: function (x) {
if(x.getDay() === 1) {
return x;
}
}
}
}
}
```
Also that would be great to have such a possibility for y axis as well, for example, when you need to show areachart with y-values from 80 to 100% range that would be much nicer to display every second tick and gridline (i.e. 80, 82, 84, ...)
Contributor guide
Assessment
This issue has not been assessed yet.