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.

Y culling doesn't seem to exist

See original GitHub issue

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.

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
            }
        }
    }
});

Issue Analytics

  • State:open
  • Created 7 years ago
  • Comments:7 (1 by maintainers)

github_iconTop GitHub Comments

7reactions
jmoseman01commented, Jul 18, 2016

Is this a desired feature? I know I just wanted it for a project…

2reactions
hiroprotagonistcommented, Dec 15, 2016

Hi, try this out: axis: { y: { tick: { count: 5, format: function (value) { return Number(value).toLocaleString(‘de-DE’, {maximumFractionDigits: 2}); }}}}

Will this solve the issue?

Read more comments on GitHub >

github_iconTop Results From Across the Web

What's wrong with Occlusion Culling - Unity Forum
The idea here is that each individual mesh will be turned on or off based on the occlusion data. So if you have...
Read more >
OpenGL Face culling not working properly - Stack Overflow
Whenever I activate glEnable(GL_CULL_FACE) I get different results for each object. I can either get the cube to be shown properly (glCullFace(GL_BACK)), or...
Read more >
Camera cull method culling the wrong objects #4092 - GitHub
Objects appear to be culled prematurely. ... It appears that Camera.cull() does not take the camera's viewport positioning into account.
Read more >
Back-face culling not working correctly - OpenGL: Basic Coding
I'm new to culling and I've followed a tutorial but in my program it doesn't seem to be culling correctly. What's happening; Some...
Read more >
allowing culling increases poaching of a large carnivore ...
Blood does not buy goodwill: allowing culling increases poaching of a large ... Indeed, liberalizing killing appears to be a conservation ...
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