Cannot read property 'orderBucketsBySum' of undefined #9458
Labels
bug
Fixes for quality problems that affect the customer experience
Feature:Visualizations
Generic visualization features (in case no more specific feature label is available)
v5.1.2
Based on https://discuss.elastic.co/t/kibana-fails-to-show-future-date-on-line-chart/68806:
Kibana version: 5.1.1
Description of the problem including expected versus actual behavior:
User tried to create a line chart with a date histogram (x-axis) and 3 avg series (y-axis). They got an empty chart:
And this error (presumably in the browser's dev console):
This is the query being sent by Kibana to Elasticsearch:
And this is the response from Elasticsearch:
Note that the user's time field is
@timestamp
but the x-axis date histogram is using a different field,ReportWeek
. Further, the buckets for this field in the response have dates in the future (i.e. after the max date of the@timestamp
time filter window).The user thinks this was working in version 5.0.1.
The text was updated successfully, but these errors were encountered: