imaNNeo / imaNNeo/fl_chart

Combined chart - Line + Stacked Bar chart

Open
#1,806 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Dart
Stars
7.6k
Forks
2k
Avg merge
9d 1h
Merged PRs (30d)
2

Description

I have used the latest package of fl_chart to implement Combined chart (Line + Stacked Bar chart)

Stack( children: [ _BarChart(...), _LineChart(...) ] )

It shows both the line and bar chart, but the line chart x axis position is flowing outside of the graph area, the line must start from the Jan month. I have tried to resolve but not luck.

Screenshot 2024-12-17 at 11 19 42 PM

Contributor guide

Open the contributing guide

Research direction

Reproduce the combined chart using the reported Stack with _BarChart and _LineChart, starting from the latest fl_chart package. Inspect the x-axis positioning for the overlaid charts and verify that the line begins at January and stays within the graph area. Done means the combined Line + Stacked Bar chart renders with aligned axes.

Written by the indexing model from the issue text.

Assessment

Tech stack
dart, flutter
Domain
data-visualization
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.