Change X-axis Line Chart flutter
问题 I want to draw a line chart in flutter. I follow this tutorial, it works fine if the date and month is different. But why if it only has one date and one point, the graph turn to this? Code /// Timeseries chart example import 'package:charts_flutter/flutter.dart' as charts; import 'package:flutter/material.dart'; void main() { runApp( MaterialApp( title: 'My app', // used by the OS task switcher theme: ThemeData( accentIconTheme: const IconThemeData.fallback().copyWith( color: Colors.white, )