[Lens] Switching to xy charts loses all dimensions if not all of them can be mapped #80295
Labels
bug
Fixes for quality problems that affect the customer experience
Feature:Lens
Team:Visualizations
Visualization editors, elastic-charts and infrastructure
Kibana version: Probably 7.8
Describe the bug: When switching from another chart type (table or pie/donat) to an xy chart type other than stacked bar and not all dimensions of the current chart can be mapped (e.g. 4 dimensional table with 3 buckets to line chart or 3 layer pie chart to area chart), the complete layer is reset, even if some dimensions could be preserved.
Steps to reproduce:
Expected behavior:
As many columns as possible should be mapped to the chart dimensions - all others should be dropped.
Screenshots (if relevant):

The text was updated successfully, but these errors were encountered: