Skip to content

stacked bar chart with time based X axis shows gaps #6103

Description

@cromdev

Expected Behavior

There should be no gaps between single bar fragments.

Current Behavior

Gaps present in bars.

Possible Solution

Related to some date ticks missing between datasets, e.g. first and third dataset has value for "2019-01-21" but not second dataset. Manual parsing is needed every time, and this should be handled on Chart.js side.

Steps to Reproduce (for bugs)

https://jsfiddle.net/alek23o/kLen415a/8/

Context

Show

Environment

  • Chart.js version: 2.7.3
  • Moment.js version: 2.24.0
  • Browser name and version: any

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

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions