c3js / c3js/c3

Filter for ticks

Open
#678 3 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.