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

[Lens] when defined interval is bigger than time range, nothing is being displayed #64544

Closed
mbondyra opened this issue Apr 27, 2020 · 6 comments · Fixed by #97849
Closed

[Lens] when defined interval is bigger than time range, nothing is being displayed #64544

mbondyra opened this issue Apr 27, 2020 · 6 comments · Fixed by #97849
Assignees
Labels
bug Fixes for quality problems that affect the customer experience Feature:Lens Team:Visualizations Visualization editors, elastic-charts and infrastructure

Comments

@mbondyra
Copy link
Contributor

Kibana version:
7.6.1, master

Steps to reproduce:

  1. Open new lens visualization and create date histogram visualization
  2. Choose the timerange that consists data in it
  3. For the x dimension, set up custom interval bigger than the range in time picker:
    image

image

  1. Behavior: nothing is being displayed on the chart

Screenshots (if relevant):
image

@mbondyra mbondyra added bug Fixes for quality problems that affect the customer experience Feature:Lens labels Apr 27, 2020
@wylieconlon wylieconlon added the Team:Visualizations Visualization editors, elastic-charts and infrastructure label Apr 27, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-app (Team:KibanaApp)

@flash1293
Copy link
Contributor

Blocked by elastic/elastic-charts#664

@nickofthyme
Copy link
Contributor

Updated response to this issue here elastic/elastic-charts#664 (comment)

@flash1293
Copy link
Contributor

Looking through this again, I think we can (and should) do the same thing Visualize is doing - expand the time range of the chart and highlight this fact using reactangle annotations @nickofthyme @markov00 what do you think?

Screenshot 2021-02-08 at 10 28 11

@nickofthyme
Copy link
Contributor

Yeah I think that would be good. I don't recall if the xy_vis_type plugin adjusts the min and max of the domain before passing it to elastic charts.

This is not the greatest solution for non-stacked bars in a date histogram so we just show the grey missing areas (aka endzones) as the full width of the interval. Below shows the different appearances between stacked and non-stacked bars.

Screen+Recording+2020-11-24+at+08 35+PM

@Mark00 and @monfera might have a more canonical way of doing this if we are to implement this in Lens.

@flash1293
Copy link
Contributor

I see, better than the current version still :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fixes for quality problems that affect the customer experience Feature:Lens Team:Visualizations Visualization editors, elastic-charts and infrastructure
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants