Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with Aligning BarChart and LineChart on Same X-Axis in fl_chart #1674

Open
dl-robert opened this issue May 27, 2024 · 0 comments
Open

Comments

@dl-robert
Copy link

img_v3_02b9_b2ac2c87-71af-4c68-9082-14adb089274g

Hello,

I am currently facing an issue while trying to render both a BarChart and a LineChart simultaneously using the fl_chart plugin in Flutter. The main challenge is aligning them on the same X-axis since it seems that the x-axis data (barChartData and lineChartData) do not align perfectly, which prevents the charts from overlapping properly on the positions.

Could someone please advise on how to share the x-axis data between these two chart types effectively so that their alignment is consistent?

Thank you for your assistance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant