Skip to content

date_histogram: some bars are too big#13068

Merged
nreese merged 2 commits intoelastic:masterfrom
nreese:holes
Jul 27, 2017
Merged

date_histogram: some bars are too big#13068
nreese merged 2 commits intoelastic:masterfrom
nreese:holes

Conversation

@nreese
Copy link
Copy Markdown
Contributor

@nreese nreese commented Jul 24, 2017

fixes regression - #12995

Data sets with holes cause a problem because the calculated bar width spans the entire gap.

Backported to 6.x and 6.0

@nreese nreese added release_note:fix v6.0.0-rc1 Feature:Visualizations Generic visualization features (in case no more specific feature label is available) labels Jul 24, 2017
Copy link
Copy Markdown
Contributor

@ppisljar ppisljar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe an a unit test to check for this ?

@nreese
Copy link
Copy Markdown
Contributor Author

nreese commented Jul 26, 2017

@ppisljar Added some unit tests if you want to review those. Turns out the defect only effected split charts. When the data is just a single chart, the series data is updated and all blank bins are populated with zero height bins so the problem does not occur.

@nreese nreese merged commit dd8c1ab into elastic:master Jul 27, 2017
nreese added a commit to nreese/kibana that referenced this pull request Jul 27, 2017
* handle data sets with holes

* add unit tests
nreese added a commit to nreese/kibana that referenced this pull request Jul 27, 2017
* handle data sets with holes

* add unit tests
nreese added a commit that referenced this pull request Jul 27, 2017
* handle data sets with holes

* add unit tests
nreese added a commit that referenced this pull request Jul 31, 2017
* handle data sets with holes

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

Labels

Feature:Visualizations Generic visualization features (in case no more specific feature label is available) release_note:fix v6.0.0-rc1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants