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

Add LineChartData.prevent_curve_over_shooting and LineChartData.prevent_curve_over_shooting_threshold props #2326

Closed
indigo360 opened this issue Jan 7, 2024 · 2 comments · Fixed by #2354
Assignees
Labels
controls enhancement Improvement/Optimization

Comments

@indigo360
Copy link

When drawing line charts using flets implementation of fl_charts and using curves the Y axis is massively overshooting

Screenshot 2024-01-07 at 11 10 44

This appears to have already been resolved in fl_chart chart, see imaNNeo/fl_chart#25

@FeodorFitsner
Copy link
Contributor

We need to expose preventCurveOverShooting property to control that behaviour.

@FeodorFitsner FeodorFitsner changed the title line charts with curves massively overshoot y axis Add LineChartData.prevent_curve_over_shooting and LineChartData.prevent_curve_over_shooting_threshold props Jan 8, 2024
@FeodorFitsner FeodorFitsner added enhancement Improvement/Optimization controls labels Jan 8, 2024
@ndonkoHenri ndonkoHenri self-assigned this Jan 8, 2024
@ndonkoHenri
Copy link
Collaborator

Can you share some test code, @indigo360 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
controls enhancement Improvement/Optimization
Projects
Archived in project
3 participants