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

Time offsets on tooltip #919

Open
Tracked by #615
markov00 opened this issue Nov 25, 2020 · 3 comments
Open
Tracked by #615

Time offsets on tooltip #919

markov00 opened this issue Nov 25, 2020 · 3 comments
Labels
:data Data/series/scales related issue enhancement New feature or request :interactions Interactions related issue :tooltip Related to hover tooltip

Comments

@markov00
Copy link
Member

markov00 commented Nov 25, 2020

Describe the solution you'd like
A common practice in time series charts, is to display multiple series with different offsets to compare month/month growth or daily trends.
The offset can vary a lot from milliseconds to years

This introduces the requirement of showing the right time offset for each series when interacting with the chart.
We should remove from the user the burden of computing the actual time of an offsetted series: some calculations can be easily done like now -1h but when we are dealing with weekly or monthly or multiple unit offsets it becomes a difficult task for the user.

This issue doesn't necessarily need to be addressed with a specific implementation just only for that, but this should become part of the tooltip redesign #615 process.
This is one of the multiple scenarios when the consumer face when they need to present data differently from the default behavior through the tooltip and I think we should provide a good basic set of components + a good set of practices on using these components in each case. We should not hardcode specific tooltip for specific use-cases, but we should provide a useful set of composable components that can be quickly used to render a custom tooltip.

The current workaround is to use your own tooltip component implementation.
But this doesn't guide the consumer toward the right way to display multiple time offset on the tooltip.

I'd like to open the discussion in this ticket to describe various way to represent multiple time offset series on a tooltip or on a chart

Kibana Cross Issues
an example of this requirement is elastic/kibana#45620

cc @timroes @stratoula @VladLasitsa

@markov00 markov00 added enhancement New feature or request :interactions Interactions related issue :data Data/series/scales related issue labels Nov 25, 2020
@markov00
Copy link
Member Author

@miukimiu I'm also really interested in your opinion on that

@nickofthyme
Copy link
Collaborator

Is this related to #885?

@markov00
Copy link
Member Author

Is this related to #885?

Same topic, different task

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:data Data/series/scales related issue enhancement New feature or request :interactions Interactions related issue :tooltip Related to hover tooltip
Projects
None yet
Development

No branches or pull requests

2 participants