Skip to content

Ticks are unexpected with stepSize value. #7203

Description

@otistav

Expected Behavior

Expect to see 5 equal ticks with same range value, defined in 'stepSize' property (in my case, 18)

Current Behavior

First tick has value of 16, then 4 ticks with value 18 and then last tick with value of 2.

Steps to Reproduce (for bugs)

Create linear chart with following configuration: https://codepen.io/otistav/pen/abOKvNG
stepSize property should be value (max - min) / 5 (I expect to see 5 equal intervals) and, probably, both of max and min properties should not be exactly divisible by stepSize (in my case, 20/18 != integer value and 110/18 != integer value)

Environment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    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