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

Date Histogram on Bar chart does not update time interval in legend if scaling is forced #8618

Closed
robin13 opened this issue Oct 11, 2016 · 6 comments
Labels
bug Fixes for quality problems that affect the customer experience discuss Feature:Visualizations Generic visualization features (in case no more specific feature label is available) PR sent Team:Visualizations Visualization editors, elastic-charts and infrastructure

Comments

@robin13
Copy link
Contributor

robin13 commented Oct 11, 2016

Kibana version: 4.6.1

In bar chart with a date histogram aggregation if the interval is set to "Second", but the interval would have created too many buckets and so the time range is scaled (e.g. to 5 Seconds) the legend below the chart wrongly says "per second":
screenshot_20161011002

On line chart the legend is displayed correctly.

@Bargs Bargs added bug Fixes for quality problems that affect the customer experience good first issue low hanging fruit labels Oct 11, 2016
@Bargs
Copy link
Contributor

Bargs commented Oct 11, 2016

Good catch!

@epixa epixa added the Feature:Visualizations Generic visualization features (in case no more specific feature label is available) label Oct 29, 2016
@LeeDr
Copy link

LeeDr commented Mar 1, 2017

The other problem is that it really isn't correct to show that interval on the x-axis like it is.
That x-axis is showing @timestamp values.
It's the Y-Axis that is showing something like Average sum of kwh per 5 seconds and not Sum of kwh.
We have the same issue on Discover histogram.

Without the proper labeling of the Y-Axis the scale can be very confusing.

@jimgoodwin
Copy link

Working as expected, the x-axis labels are scaled to match the units in the label

@robin13
Copy link
Contributor Author

robin13 commented Mar 29, 2017

@jimgoodwin I disagree - look at the ticks on the screenshot: they are every hour, and the lable says that the bars should be "per second" but we know from the alert on the left side that they are "per 5 second" - if this visualisation was in a dashboard without the context of the left bar, it would be very misleading.

@robin13 robin13 reopened this Mar 29, 2017
@LeeDr
Copy link

LeeDr commented Mar 29, 2017

I think I noted this in another similar issue, but the X-Axis should just be @timestamp. The Y-Axis scale is really showing Sum of kwh/5 seconds and maybe should just say that.

@stratoula
Copy link
Contributor

I am closing it as I can't reproduce it in the latest minor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fixes for quality problems that affect the customer experience discuss Feature:Visualizations Generic visualization features (in case no more specific feature label is available) PR sent Team:Visualizations Visualization editors, elastic-charts and infrastructure
Projects
None yet
Development

Successfully merging a pull request may close this issue.

9 participants