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

Displaying hour data on an x-axis in a chart for large ranges (4+ weeks) shows no bars unless expanded #639

Open
cbruno10 opened this issue Dec 19, 2024 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@cbruno10
Copy link
Contributor

Describe the bug
If I have a chart with 24 hours for each day showing on the x-axis, if I expand the time range enough, eventually 0 columns/bars show unless I expand the panel

@cbruno10 cbruno10 added the bug Something isn't working label Dec 19, 2024
@MichaelBurgess
Copy link
Contributor

@cbruno10 do you have a reference snapshot I can use to debug this please?

@MichaelBurgess
Copy link
Contributor

MichaelBurgess commented Jan 13, 2025

When trying to render a large dataset, we are constrained by the amount of available chart space. In the example sent we're rendering a chart as 6 units of a full width container, which on a typical sized screen will not provide much space. If you zoom the panel you'll often be able to see the data points due to the increased viewport given to the chart.

I tried using the series sampling: 'lttb' strategy, but this doesn't seem to fix it - still nothing rendered.

We could look at some downsampling options, or could we just say that something with a large dataset should be given more display room?

@MichaelBurgess
Copy link
Contributor

@cbruno10 let's try replacing this with a heatmap chart.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants