Skip to content

[BUG] Regression between 2.7.1 an 2.7.2 in bar charts with timescale #5844

Description

@nesnes

No bar is displayed in 2.7.2+ version for a given data input.

Expected Behavior

Bar should be displayed (should be 1 bar per day in the example)

Current Behavior

The chart is empty

Possible Solution

Don't know, but it has something to do with the 2.7.2 bar-size feature.

Steps to Reproduce (for bugs)

  1. Open https://codepen.io/anon/pen/dQzPmB
  2. -> No bar will be displayed
  3. Set makeMeWork = true at the top of the JS
  4. -> Bar should be displayed like before the 2.7.2 bar-size feature.

Context

I'm no able to diplay a bar chart of the data I can see in a line chart

Notice

The data in the chart isn't sorted with a day interval, so the issue might just mean that I'm not using bars as I should. However, in this situation, it should generate "strange" bars, or provide a warning in the console.

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