Skip to content

Commit

Permalink
Set interval 1 for line_chart_sample5 bottom titles
Browse files Browse the repository at this point in the history
  • Loading branch information
imaNNeo committed Feb 18, 2022
1 parent a3e2e39 commit cc3462a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions example/lib/line_chart/samples/line_chart_sample5.dart
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ class LineChartSample5 extends StatelessWidget {
showTitles: false,
),
bottomTitles: SideTitles(
interval: 1,
showTitles: true,
getTitles: (val) {
switch (val.toInt()) {
Expand Down

0 comments on commit cc3462a

Please sign in to comment.