Skip to content

2.6.0 Line Chart xAxis Type Time ignores unitStepSize #4391

@philipp-winterle

Description

@philipp-winterle

Expected Behavior

The line chart xaxis should display date values with a difference of 5 minutes, when unitStepSize is 5 and unit is "minute".

Current Behavior

The line chart xaxis displays dates with a difference of 2 minutes

Possible Solution

Rollback to chart.js version 2.5.0

Steps to Reproduce (for bugs)

http://jsfiddle.net/hummal/m7btaLx8/1/ Chart.js Version 2.5.0
http://jsfiddle.net/hummal/m7btaLx8/2/ Chart.js Version 2.6.0
Example is with chart.js version 2.6.0. Switch to 2.5.0 to see this working. It is all the same but the chart.js version.

Context

I just dont want to have a filled xaxis bar

Environment

  • Chart.js version: 2.6.0
  • Browser name and version: Chrome 58
  • Link to your project: not available

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions