Skip to content

y-axis forceNiceScale only works when the range is larger than 10 #759

@timoly

Description

@timoly

forceNiceScale option, https://apexcharts.com/docs/options/yaxis/#forceNiceScale works fine when the range between min/max value is larger than 10, as can be seen in this codepen example:
https://codepen.io/anon/pen/agxvxO

But when the difference is less than 10, the value rounding is not working as can be seen here:
https://codepen.io/anon/pen/gNyaPw

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions