imaNNeo / imaNNeo/fl_chart

[Feature Request]: Pattern for better accessibility in PieChart

Open
#2,082 1 comment 0 reactions 0 assignees View on GitHub

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

Image

# 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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.