Skip to content

Logarithmic ticks callback breaks autoSkip #2815

@MusikAnimal

Description

@MusikAnimal

I use a callback to localize the number format of the y-axis ticks on a line chart. For a logarithmic scale, it appears using a callback overrides the built-in autoSkip feature, and the ticks end up overlapping each other.

Logarithmic chart with default options:
http://codepen.io/MusikAnimal/pen/LZRoMN
This shows fine, except the numbers are in exponential format, when I need the full numbers with delimiters.

The same logarithmic chart with a callback:
http://codepen.io/MusikAnimal/pen/MejdXL
The labels overlap. autoSkip seems to have no effect, nor does maxTicksLimit.

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