bezier-chart icon indicating copy to clipboard operation
bezier-chart copied to clipboard

Skip the missing value

Open adspk243 opened this issue 4 years ago • 3 comments

There is a callback named onMissingValue in BezierLine class, as far as i understand, this callback return value if the value is missing (i.e. on a particular date like we have values for dates 1,2,3 and missing value for 4 and then we have values for 5 and 6 and our start date (from) is 1 and end date (to) is 6). My Requirement: I don't want to provide a callback for missing value, I want to skip dates on which value is not present. (i.e. i don't want to show date 4 on x-axis).

adspk243 avatar Apr 09 '20 03:04 adspk243

Add a code to reproduce the issue.

diegoveloper avatar Apr 23 '20 17:04 diegoveloper

I think the question is, if you can just skip dates where no value is provided. I've got the same request, I don't want that the line goes to zero between the first and third of june: image

sh3rlock97 avatar Jun 11 '20 06:06 sh3rlock97

Feel free to send a PR

diegoveloper avatar Jun 11 '20 06:06 diegoveloper