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

Can frappe do non-contiguous data? #360

Open
tobinbradley opened this issue Oct 28, 2021 · 2 comments
Open

Can frappe do non-contiguous data? #360

tobinbradley opened this issue Oct 28, 2021 · 2 comments

Comments

@tobinbradley
Copy link

I have data from years that are not contiguous, like ["2010", "2011", "2014"], and I'm trying to make a line chart to show the trend. I can fill in the missing years for the labels, but can frappe deal with data gaps, like [ 5, 12, null, null, 17]? When I try this the nulls get interpreted as 0.

Apologies if there's an easy solution to this that I've missed but I've been all over the docs and I can't find one. I'm looking for something like the Chart.js spanGaps option.

@danekolsen
Copy link

I'm also looking for a feature like this in the library. Datasets where there might occasionally be a null value but 0 isn't appropriate in the UI.

@jon49
Copy link

jon49 commented Dec 12, 2023

There's a pull request for this in #243 but it looks like one of those PRs that will take 5+ years to merge in.

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

3 participants