Skip to content

Using stepSize and maxTicksLimit together doesn't work. #2539

@gitaarik

Description

@gitaarik

I want to have a chart with a minimal stepSize of 1, basically I don't want the steps to have decimals like 0.5 or something. I can set stepSize to 1, but then it will show a label for each step regardless of maxTicksLimit.

You can see the problem here:
http://codepen.io/anon/pen/pyBPME

If you disable the stepSize option, the labels are fine, but if you then disable "dataset 1" and it only shows "dataset 2", it will have steps like 0.5 and 1.5 which I don't want.

Am I missing configuration or is this an issue?

Many thanks!

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