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

Y-axis automatic scaling not working on Log for values <1 #83917

Closed
Tracked by #184459
th0ger opened this issue Nov 20, 2020 · 10 comments
Closed
Tracked by #184459

Y-axis automatic scaling not working on Log for values <1 #83917

th0ger opened this issue Nov 20, 2020 · 10 comments
Labels
blocked Feature:ElasticCharts Issues related to the elastic-charts library Feature:Lens Feature:XYAxis XY-Axis charts (bar, area, line) 🧊 iceboxed impact:low Addressing this issue will have a low level of impact on the quality/strength of our product. Team:Visualizations Visualization editors, elastic-charts and infrastructure

Comments

@th0ger
Copy link

th0ger commented Nov 20, 2020

When plotting a linechart with logarithmic y-axis, the automatic scaling of the y-axis does not work for the lower (Min) bound if some values are < 1:

image

The Min bound is incorrectly fixed to 1 (in my example it should have been around 0.03).

Below I have Set axis extent to Min=0.01 to show you the full dataset below 1:
image

Kibana version: 7.9.1

@afharo afharo added Feature:XYAxis XY-Axis charts (bar, area, line) Team:Visualizations Visualization editors, elastic-charts and infrastructure labels Nov 23, 2020
@elasticmachine
Copy link
Contributor

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

@flash1293
Copy link
Contributor

@nickofthyme will this be fixed with the elastic-charts migration as well?

@nickofthyme
Copy link
Contributor

Yes this is fixed with elastic-charts implementation. Though we need to refine the axis tick label spacing (elastic/elastic-charts#915).

image

@th0ger
Copy link
Author

th0ger commented Nov 24, 2020

@nickofthyme sounds good, but your screenshot shows "Set axis extent" enabled. The bug occurs when this is disabled. Can you provide a screenshot for that as well?

@nickofthyme
Copy link
Contributor

@th0ger thank you for clarifying, I totally read that wrong. Unfortunately, it looks to function the same way. I will look into this and see what is causing this.

image

@nickofthyme
Copy link
Contributor

@th0ger this feature will be added in 7.13. Unfortunately, I was not able to get this into 7.12. The required changes within our charting library can be found here elastic/elastic-charts#1032. I'll open a PR with the kibana implementation and tag this issue.

@nickofthyme
Copy link
Contributor

Hey @th0ger another update on this. I had some pushback on #93352 questioning adding more options to the config. We are discussing a fix where 1 will be used unless your data goes below 1 in which case the domain will be extended to include that data. This should roll out in 7.14, sorry for the delay on this.

@stratoula
Copy link
Contributor

@nickofthyme can we close this?

@nickofthyme
Copy link
Contributor

I don't believe so, I don't know why this work was paused. We added the logMinLimit property in charts and #93352 would have added this option to the kibana vis editor but was decided against and never merged.

Currently there is no use of logMinLimit across all of kibana and the auto min described in elastic/elastic-charts#1257 has not been implemented so the functionality described in this issue is unchanged as of today.

So I'd say keep it open until we close elastic/elastic-charts#1257.

@exalate-issue-sync exalate-issue-sync bot changed the title Y-axis autoscaling not working on Log for values <1 Y-axis automatic scaling not working on Log for values <1 Jun 7, 2023
@stratoula stratoula added blocked impact:low Addressing this issue will have a low level of impact on the quality/strength of our product. labels Sep 6, 2023
@markov00 markov00 added Feature:ElasticCharts Issues related to the elastic-charts library Feature:Lens labels Apr 2, 2024
@markov00
Copy link
Member

In order to provide better transparency of priorities, issues that will not be prioritized within the next 24 months are being closed.

Tracking request in Lens general improvements ice box #184459

@markov00 markov00 closed this as not planned Won't fix, can't repro, duplicate, stale May 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocked Feature:ElasticCharts Issues related to the elastic-charts library Feature:Lens Feature:XYAxis XY-Axis charts (bar, area, line) 🧊 iceboxed impact:low Addressing this issue will have a low level of impact on the quality/strength of our product. Team:Visualizations Visualization editors, elastic-charts and infrastructure
Projects
None yet
Development

Successfully merging a pull request may close this issue.

7 participants