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

Filtering x-axis by using custom intervals in kibana visualizations #46901

Closed
isharamadhawa opened this issue Sep 30, 2019 · 5 comments
Closed
Labels
Feature:Dashboard Dashboard related features Team:Presentation Presentation Team for Dashboard, Input Controls, and Canvas

Comments

@isharamadhawa
Copy link

I have a requirement as the following.
When a Kibana visualization contains a x-axis, can we add an interval options list to filter the x-axis like the drop-down list in Kibana Discover.

Currently we can define the interval when we create a visualization. But I need that to be selected when it is displayed inside a dashboard. Is it possible to add a interval options to a visualize to be filtered in the dashboard level?

@ShanChathusanda93
Copy link

Hi @isharamadhawa,
This feature will give the dashboard viewers to filter the timestamp of the X-axis as their preferences.

@flash1293 flash1293 added Feature:Dashboard Dashboard related features Team:Visualizations Visualization editors, elastic-charts and infrastructure labels Sep 30, 2019
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-app

@duplostudio
Copy link

+1 totally

The words "Filtering x-axis by" in the title of this issue can be misleading, I think this is not about filtering, it is about letting user to set buckets or intervals in x-axis from visualization in dashboard. @ShanChathusanda93 explained the goal perfectly.

This is a very common business use case for this feature: Evaluating business orders and revenue. With the time filter you set a timespan, for example "last 2 month", but with "auto" this can lead to non natural or fractional intervals for business users (half an hour, half days, days and a half, joining 2 or more day results in 1 bar...). Setting fixed interval other than "auto" at visualization design limits seriously data drilling, for example using the same chart to visualize orders placed each day in the timespan and orders placed along a day when the timespan is small enough (answering to business question "when are we making more money along the day?").

Manually setting the daily, weekly or monthly buckets in Visualizations in Dashboards as in Discovery chart UI solves the problem, giving the user the flexibility to force bucket size to standard intervals (respecting min and max limits set in general config to avoid for example bucketing a year in seconds).

In detail, it could be done system adding a new bucket/interval definition option like "auto": "manual" or "interactive".

If this option is selected, dscTimechart__header is attached into the visualization component, reusing the selection logic of interval treatment in Discover chart.

I think this could be a great improvement in UX.

@timroes timroes added Team:Presentation Presentation Team for Dashboard, Input Controls, and Canvas and removed Team:Visualizations Visualization editors, elastic-charts and infrastructure labels Oct 7, 2020
@matip
Copy link

matip commented Jun 29, 2022

We would also be very interested in that feature

@ThomThomson
Copy link
Contributor

Closing this in favour of a more general idea, embeddable variables. #134706 That generic system could be used to provide this behaviour.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:Dashboard Dashboard related features Team:Presentation Presentation Team for Dashboard, Input Controls, and Canvas
Projects
None yet
Development

No branches or pull requests

8 participants