Skip to content

[Discover][ES|QL] Brushing a timeseries should keep the preferred chart configuration #198749

@stratoula

Description

@stratoula

Describe the feature:

In Discover we are computing the interval based on the timepicker. And we rename the column with this intgerval in the name. Although this PR improves the experience a lot #197453 it doesnt solve it for the brushing. The reason is because different interval means different column name which means that the suggestions will re run.

We could fix it with 2 ways?

  • flag the brushing and when this happens send the preferredChart type and attributes in the suggestions api. Not sure how easy is to understand that the change of the query was caused from brushing
  • Change the attributes of the histogram to give the name in the x axis instead of the column. So the esql query will always have the same column name but the vis attributes will change depending on the interval.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Feature:DiscoverDiscover ApplicationFeature:ES|QLES|QL related features in KibanaTeam:DataDiscoveryDiscover, search (data plugin and KQL), data views, saved searches. For ES|QL, use Team:ES|QL. t//Team:ESQLES|QL related features in Kibana t//enhancementNew value added to drive a business resultimpact:mediumAddressing this issue will have a medium level of impact on the quality/strength of our product.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions