Skip to content

Y-axis tick values are not always nicely generated #298

@lukwallace

Description

@lukwallace

yAxis tick value generation uses a niceTicks function that seems to generate some not so nice ticks on certain datasets:

_.nw.niceTicks(-16575919.58, 0, undefined)
//  creates [-16575919.6, -12575919.6, -8575919.6, -4575919.6, -575919.6, 3424080.4]

Found while testing with data set: [-16575919.58, 0, 0, 0]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions