[Feature Request]: Pattern for better accessibility in PieChart
Nobody has claimed this yet.
- Dominant language
- Dart
- Stars
- 7.6k
- Forks
- 2k
- Avg merge
- 9d 1h
- Merged PRs (30d)
- 2
Description
# Description
To improve accessibility of PieChart it would help to have an optional pattern e.g. dots to make pie chart sections or segments easier to distinguish for people who have trouble with low contrast.
# Example
# Proposed Solution
```dart
class PieChartSectionData {
// ...
final DotPattern pattern;
// ...
}
class PieChartStackSegmentData {
// ...
final DotPattern pattern;
// ...
}
class DotPattern {
final Color color;
final double spacing;
final double dotRadius;
}
```
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the PieChartSectionData and PieChartStackSegmentData entry points described in the issue, then trace how PieChart sections are rendered. Review the proposed DotPattern fields and define done as optional patterns that make segments easier to distinguish while preserving existing chart behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- dart, flutter
- Domain
- accessibility
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100