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

LineChart disappears while zooming in if spanGaps: true and non-null datapoints are out of bounds #795

Open
ale-coe opened this issue Nov 7, 2023 · 0 comments

Comments

@ale-coe
Copy link

ale-coe commented Nov 7, 2023

When using a dataset that has spanGaps: true and several null values in its data and the user zooms in, the lineChart disappears. The reason seems to be that the non-null values have no representation on the x-axis anymore.
See this codepen.

I would expect that there is some interpolation going on internally that addresses this issue but this isn't the case.
I tried modifying the dataset by interpolating "missing" values but there were visible jumps when rendering the line during zoom events which makes it not applicable for my use case.

Is there any workaround for this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant