-
Notifications
You must be signed in to change notification settings - Fork 776
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
[Question] - how to make use of EmptyPointMode.average in case there is more than one missing values in a row #18
Comments
Hi Angel, Thanks for trying our Flutter widgets and providing feedback. We have ensured the reported issue at our end. But it is working fine. Average values are calculated for both the empty points and it got rendered properly. Please find the code snippet and output for this below.
Also we have attached the sample in the below link for your reference. If you still face any concern, kindly replicate your scenario in the provided sample or share your sample code. That will be more helpful for us to reproduce the issue and provide possible solution sooner. Thanks, |
@Baby-Palanidurai - thanks for the feedback and the provided sample. It turned out, the issue I experienced is due to having |
Hi there and thanks for providing such a useful chart package for Flutter. I dare to say this is the best chart package so far.
I have a question though:
I would like to use
AreaSeries
withEmptyPointMode.average
.In case, I have one missing y value in between two existing ones, the average mode works just fine and calculates average. If however, I have let's say two missing values, where the next follows the first one, e.g.:
the average is not calculated and I have a gap rather than the expected average value. Is that the expected chart behavior? In case it is, is there a way to override it, e.g. to calculate average based on the existing points which wrap the missing y values ones?
The text was updated successfully, but these errors were encountered: