Skip to content

feat: Bar chart rod label#2071

Merged
imaNNeo merged 15 commits intomainfrom
feature/bar-chart-rod-title
Mar 13, 2026
Merged

feat: Bar chart rod label#2071
imaNNeo merged 15 commits intomainfrom
feature/bar-chart-rod-title

Conversation

@imaNNeo
Copy link
Owner

@imaNNeo imaNNeo commented Mar 13, 2026

Description

In this PR, we're adding the label property inside the BarChartRodData to allow users to put a label/text at the top of each bar rod. The object type of label is BarChartRodLabel, which has: show, text, style, angle, textDirection, and offset at the moment.

Samples:

BarChartSample2 (code) BarChartSample3 (code) BarChartSample7 (code)

This work is sponsored by Intero The Sniffers

Checklist

  • I have followed the Contributor Guide when preparing my PR.
  • I have updated/added tests for ALL new/updated/fixed functionality.
  • I have updated/added relevant documentation and added dartdoc comments with ///.
  • I have updated/added relevant examples in example.

Breaking Change?

  • Yes, this PR is a breaking change.
  • No, this PR is not a breaking change.

Related Issues

Related to #84

@imaNNeo imaNNeo changed the title Feature/bar chart rod title feat: Bar chart rod title Mar 13, 2026
@codecov
Copy link

codecov bot commented Mar 13, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.00%. Comparing base (ef9d9f4) to head (b65e749).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2071      +/-   ##
==========================================
+ Coverage   92.92%   93.00%   +0.07%     
==========================================
  Files          50       50              
  Lines        3873     3917      +44     
==========================================
+ Hits         3599     3643      +44     
  Misses        274      274              
Flag Coverage Δ
flutter 93.00% <100.00%> (+0.07%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@imaNNeo imaNNeo changed the title feat: Bar chart rod title feat: Bar chart rod label Mar 13, 2026
@imaNNeo imaNNeo force-pushed the feature/bar-chart-rod-title branch from b8672a6 to b65e749 Compare March 13, 2026 20:31
@imaNNeo imaNNeo merged commit c55fd81 into main Mar 13, 2026
7 checks passed
@imaNNeo imaNNeo deleted the feature/bar-chart-rod-title branch March 13, 2026 20:36
@imaNNeo imaNNeo mentioned this pull request Mar 13, 2026
6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant