Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Discover: Provide a green line for histogram periods with "too few" (relative to other periods) documents to show a visible bar #68436

Closed
ppf2 opened this issue Jun 5, 2020 · 1 comment · Fixed by #69875
Assignees
Labels
enhancement New value added to drive a business result Feature:Discover Discover Application good first issue low hanging fruit

Comments

@ppf2
Copy link
Member

ppf2 commented Jun 5, 2020

Kibana version: 7.7.1

When querying for a long time range with great variations in document counts, the Discover histogram can be misleading because it would appear that there's no data for part of the range, but in fact there is actually data (e.g., May 7-21)

image

Certainly, when you start zooming in, you will see that there is actually data in that range:

image

image

While the user can mouseover and see counts ...

image

... it can be a nice feature for the histogram to show at least a green horizontal line for this range that has data so the end user can immediately see that they are not actually missing data for those periods (and does not require having to manually mouseover the range).

This is helpful especially if you put the Kibana dashboard on a tv screen in an operations center, etc..

@ppf2 ppf2 added Feature:Discover Discover Application enhancement New value added to drive a business result labels Jun 5, 2020
@markov00
Copy link
Member

markov00 commented Jun 8, 2020

@kertal It can be easily solved using the following prop: minBarHeight into the <BarSeries> or HistogramBarSeries this will keep rendering the bars with the minimum height in px specified in that prop.
See https://elastic.github.io/elastic-charts/?path=/story/bar-chart--min-height for an example

@ppf2 ppf2 removed the enhancement New value added to drive a business result label Jun 8, 2020
@kertal kertal added the good first issue low hanging fruit label Jun 9, 2020
@ppf2 ppf2 added the enhancement New value added to drive a business result label Jun 9, 2020
@nickofthyme nickofthyme self-assigned this Jun 25, 2020
@nickofthyme nickofthyme linked a pull request Jun 25, 2020 that will close this issue
nickofthyme added a commit that referenced this issue Dec 5, 2023
Adds optional `minBarHeight` option to the Lens embeddable args, defaults to `1px`. Adds back min bar height of `2px` in discover histogram for large document count variances per #68436.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New value added to drive a business result Feature:Discover Discover Application good first issue low hanging fruit
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants