timelion yaxis units=percent does not respect tickDecimals setting #74888
Labels
bug
Fixes for quality problems that affect the customer experience
Feature:Timelion
Timelion app and visualization
impact:low
Addressing this issue will have a low level of impact on the quality/strength of our product.
still valid?
Team:Visualizations
Visualization editors, elastic-charts and infrastructure
bug originally reported in https://discuss.elastic.co/t/yaxis-data-value-loses-precision-in-timelion-when-using-percent-as-units-with-tickdecimals/244281
When using the expression
.es(index=kibana_sample_data_logs,metric=avg:bytes,).divide(1000).bars().yaxis(tickDecimals=1)
, notice that the decimal value is 5.9 (in the legend).When using the expression
.es(index=kibana_sample_data_logs,metric=avg:bytes,).divide(100000).bars().yaxis(tickDecimals=1,units=percent)
, notice how the decimal value has been rounded and is now 6.0.The text was updated successfully, but these errors were encountered: