Empty labels in Timelion are handled incorrectly #10810
Labels
bug
Fixes for quality problems that affect the customer experience
Feature:Timelion
Timelion app and visualization
impact:medium
Addressing this issue will have a medium level of impact on the quality/strength of our product.
Team:Visualizations
Visualization editors, elastic-charts and infrastructure
Kibana version:
5.2.2
Elasticsearch version:
5.2.2
Description of the problem including expected versus actual behavior:
Using the .label() expression in Timelion with an empty string (correctly) prevents the label from being drawn, but all consecutive labels’ values are offset by one.
In the first image there's a line for iOS, and another line just for the .points() part. All queries have labels so this works properly:
Now we hide the .points() line's label:
Both charts render correctly. First look at the labels in the first image, iOS shows 7 and Android 2, this is correct. However, now look at the labels in the second image, Android's label shows what would have been shown in the HIDDEN label. This is very dangerous as all consecutive labels after the hidden label will show bogus values.
The text was updated successfully, but these errors were encountered: