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

[Lens] Fitting functions are not cleared when passing from Line to Area charts #93650

Closed
dej611 opened this issue Mar 4, 2021 · 2 comments
Closed
Assignees
Labels
bug Fixes for quality problems that affect the customer experience Feature:Lens Team:Visualizations Visualization editors, elastic-charts and infrastructure

Comments

@dej611
Copy link
Contributor

dej611 commented Mar 4, 2021

Kibana version: master on fe1ae92 (> 7.12)

Describe the bug:

Fitting functions are currently disabled for area percentages (it is enabled for both area and area stacked charts, even when using date histograms - perhaps the message shown is wrong?) as there's no fitting to apply.

It is still possible to enabled it in area percentages passing by other types of chart, setting the fitting function, then changing the chart again to area percentage.
This should not an issue in general, but because #93648 it became visible.

Screenshots (if relevant):

Screenshot 2021-03-04 at 18 56 51

Once #93648 gets resolved the actual problem will disappear, but I think it's still worth cleaning up a bit the state.
Also, the message should be improved in this scenario

@dej611 dej611 added bug Fixes for quality problems that affect the customer experience Team:Visualizations Visualization editors, elastic-charts and infrastructure Feature:Lens labels Mar 4, 2021
@elasticmachine
Copy link
Contributor

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

@dej611 dej611 self-assigned this Mar 5, 2021
@dej611
Copy link
Contributor Author

dej611 commented Mar 17, 2021

I think we can close this as #94086 sets a fixed value as the fitting function in this case.

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:Lens Team:Visualizations Visualization editors, elastic-charts and infrastructure
Projects
None yet
Development

No branches or pull requests

3 participants