-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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 FlDotLineSegmentPainter for Enhanced Chart Customization #1544
base: main
Are you sure you want to change the base?
Conversation
Oh, it seems a very cool feature! Thanks a lot. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1544 +/- ##
==========================================
- Coverage 87.52% 86.78% -0.75%
==========================================
Files 45 45
Lines 3078 3034 -44
==========================================
- Hits 2694 2633 -61
- Misses 384 401 +17 ☔ View full report in Codecov by Sentry. |
Oh, it seems there is a formatting issue, |
# Conflicts: # lib/src/chart/base/axis_chart/axis_chart_data.dart
Totally my bad! I'm used to Github Actions steps that clean up the formatting for me. Forgive the negligence. All cleaned up now |
Can you please rebase your branch? |
This pull request introduces a new
FlDotLineSegmentPainter
to the fl_chart library, expanding the customization options available for dot decorations in line charts. The FlDotLineSegmentPainter is designed to draw a vertical line segment at each data point, with an optional numerical value label displayed above.Key features and benefits of the FlDotLineSegmentPainter include:
The addition of this painter is particularly helpful for users who require a clear visual distinction between data points, or for those who wish to emphasize the exact value of each point without cluttering the chart with markers.
Example picture: