c3js / c3js/c3

Y culling doesn't seem to exist

Open
#1,771 7 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
9.3k
Forks
1.4k
Avg merge
6d 16h
Merged PRs (30d)
1

Description

I put a max value of 4 on y.tick.culling.max and it doesn't seem to modify the Y axis. The x axis culling seems to work fine.

``` javascript
var chart = c3.generate({
data: {
columns: [
['sample', 30, 200, 100, 400, 150, 250, 30, 200, 100, 400, 150, 250, 30, 200, 100, 400, 150, 250, 200, 100, 400, 150, 250]
]
},
axis: {
y: {
//type: 'category',
tick: {
culling: {
max: 4 // the number of tick texts will be adjusted to less than this value
}
// for normal axis, default on
// for category axis, default off
}
}
}
});
```

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.