-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
Wide vs narrow bars in lens #81580
Comments
Pinging @elastic/kibana-app (Team:KibanaApp) |
@gservat I have a few theories about why, but it would help to collect more information:
|
Hi @wylieconlon thanks for taking a look at this.
I haven't customized the time interval, so yeah, auto.
Exactly the same as in the dashboard:
It's a stacked bar chart with
This is the data table from the one showing narrow columns: This is from the wide columns: |
@gservat I think what @wylieconlon meant here is how the chart looks like if the configuration is re-created using the "Vertical Bar" visualization type from the new visualization dialog:
Another possible cause: Is one of these charts built using a rollup index pattern? |
Thanks @gservat To me this looks like a problem with the auto-width detection of elastic-charts. If there are multiple values in the time series we are leaving it up to the chart to figure out the width of the column, but completely empty rows are filtered out. If there are empty rows after the first row containing a value, all empty buckets after it will be added to the width of the bars. Since we but this logic into place we got a new way of determining the interval of a date dimension - I can put up a PR for this. |
Kibana version: 7.8.0
Description of the problem including expected versus actual behavior:
I built a couple of visualizations using Lens and they both have the same interval and time range, however one has really wide bars and the other narrow ones:
Any ideas why that is?
The text was updated successfully, but these errors were encountered: