Skip to content

Commit

Permalink
add direction in lerp method
Browse files Browse the repository at this point in the history
  • Loading branch information
julien4215 authored and imaNNeo committed Mar 28, 2024
1 parent bf36544 commit a540582
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/src/chart/base/axis_chart/axis_chart_data.dart
Original file line number Diff line number Diff line change
Expand Up @@ -1151,6 +1151,7 @@ class HorizontalLineLabel extends FlLineLabel with EquatableMixin {
alignment: Alignment.lerp(a.alignment, b.alignment, t)!,
labelResolver: b.labelResolver,
show: b.show,
direction: b.direction,
);
}

Expand Down Expand Up @@ -1208,6 +1209,7 @@ class VerticalLineLabel extends FlLineLabel with EquatableMixin {
alignment: Alignment.lerp(a.alignment, b.alignment, t)!,
labelResolver: b.labelResolver,
show: b.show,
direction: b.direction,
);
}

Expand Down

0 comments on commit a540582

Please sign in to comment.