Skip to content

Huge gap between last two labels when using maxTicksLimit #4358

@frankie-loves-jesus

Description

@frankie-loves-jesus

My chart has so much data the labels won't all fit:

sf2hz

I found https://stackoverflow.com/questions/22064577/limit-labels-number-on-chartjs-line-chart which suggests adding:

autoSkip: true,
maxTicksLimit: 10

However, despite how high or low I set this limit, there's always a large gap towards the right end of the x-axis. Does anybody know why?

https://jsfiddle.net/askhflajsf/xzk6sh1q/

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions