aeyrium / bezier-chart

A beautiful bezier line chart widget for flutter that is highly interactive and configurable.
Apache License 2.0
447 stars 132 forks source link

Skip the missing value #78

Open adspk243 opened 4 years ago

adspk243 commented 4 years ago

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).

diegoveloper commented 4 years ago

Add a code to reproduce the issue.

sh3rlock97 commented 4 years ago

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

diegoveloper commented 4 years ago

Feel free to send a PR