Skip to content

max is not working properly in time scale v2.7.0 #4758

Description

@DurgpalSingh

Current Behavior

I set max value in time scale it working fine when dataset has 2 and more values otherwise behaviour unexpected.
Why it is behaving like this.

Steps to Reproduce (for bugs)

Dataset with 2 and more values

https://jsfiddle.net/657fxL8r/7/

Dataset with 1 value.

https://jsfiddle.net/657fxL8r/8/

Environment

  • Chart.js 2.7.0:

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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