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

VerticalLineLabel position has changed when migrating to new versions #1677

Open
OliverNarramore opened this issue May 31, 2024 · 0 comments

Comments

@OliverNarramore
Copy link

I am currently in the process of migrating from version 0.46.0 to 0.68.0. My issue is that since migrating, the vertical line label used to sit below the x axis, now it sits above it.

My extralinesdata is unchanged using the following code:

return ExtraLinesData( verticalLines: [ VerticalLine( x: 0, dashArray: [4, 1], strokeWidth: 1.5, color: Colors.white, label: VerticalLineLabel( show: true, style: TextStyle(color: Colors.white), padding: const EdgeInsets.all(10), alignment: Alignment.bottomCenter, labelResolver: (_) => 'LABEL', ), ), ], );

Before is on the left, after on the right.

Screenshot 2024-05-31 at 12 14 45

Versions

  • which version of the Flutter are you using? 3.22.1
  • which version of the FlChart are you using? 0.68.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant