imaNNeo / imaNNeo/fl_chart

Is the interval of SideTitles invalid for BarChart?

Open
#1,619 3 comments 0 reactions 0 assignees View on GitHub
Bar Chart enhancement
Dominant language
Dart
Stars
7.6k
Forks
2k
Avg merge
9d 1h
Merged PRs (30d)
2

Description

see BarChartSample9 in
https://zapp.run/edit/flutter-zphk0684phl0?entry=lib/main.dart&file=lib/bar_chart_sample9.dart

![image](https://github.com/imaNNeo/fl_chart/assets/27394631/c132fbf6-73da-4dc1-808a-90ba1b45eabd)

```dart
BarChartData(
titlesData: FlTitlesData(
bottomTitles: AxisTitles(
sideTitles: SideTitles(
showTitles: true,
interval: 3,
getTitlesWidget: (value, meta) {
return Text('$value');
},
))),
```

Contributor guide

Open the contributing guide

Research direction

Start with the BarChartSample9 entry point in lib/bar_chart_sample9.dart and reproduce the behavior in the linked Zapp example using SideTitles with interval: 3. Trace how the bar chart handles that interval and determine whether the behavior is valid or needs a code or documentation change; done means the interval behavior is confirmed and the issue is resolved.

Written by the indexing model from the issue text.

Assessment

Tech stack
dart, flutter
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.