Open stratoula opened 1 month ago
Pinging @elastic/kibana-data-discovery (Team:DataDiscovery)
Pinging @elastic/kibana-esql (Team:ESQL)
@jughosta not sure how easy it will be to accomplish that but it would be very cool 😍
The chart style gets reset when query changes. It's the case here too as "where" clause gets added. Need to think what kind of special handling we could add for the check on query change.
I was thinking about it. Maybe we should check if the chart used columns (fields) exist in the updates query. In case they do, we should not change the chart type. The suggestionsapi has the preferredChartType property that we can possibly use.
Describe the feature:
Recently we added the support of creation of where filters when we are clicking on a:
This is very cool but if the user has selected a different chart type (for example a tagcloud) and then clicks to add a filter then the user's selection chart type is being lost and the default one is being rendered (which is usually an XY chart). This happens also in a saved search.
Ideally we dont want filtering to change our chart configuration.