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

timelion yaxis units=percent does not respect tickDecimals setting #74888

Closed
nreese opened this issue Aug 12, 2020 · 2 comments
Closed

timelion yaxis units=percent does not respect tickDecimals setting #74888

nreese opened this issue Aug 12, 2020 · 2 comments
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

Comments

@nreese
Copy link
Contributor

nreese commented Aug 12, 2020

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).

Screen Shot 2020-08-12 at 12 15 19 PM

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.

Screen Shot 2020-08-12 at 12 15 02 PM

@nreese nreese added bug Fixes for quality problems that affect the customer experience Feature:Timelion Timelion app and visualization Team:Visualizations Visualization editors, elastic-charts and infrastructure labels Aug 12, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-app (Team:KibanaApp)

@timroes timroes added impact:low Addressing this issue will have a low level of impact on the quality/strength of our product. still valid? labels Jul 22, 2021
@VladLasitsa
Copy link
Contributor

@nreese, Now timelion vis is using elastic-charts and this issue is gone. I close this issue but feel free re-open it if you find this problem again.

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 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
Projects
None yet
Development

No branches or pull requests

4 participants