diff --git a/lib/main.dart b/lib/main.dart index bca6751..03e929f 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -47,13 +47,21 @@ class _MyHomePageState extends State { child: SfCartesianChart( primaryXAxis: CategoryAxis(plotBands: [ PlotBand( - start: 7, end: 7, borderWidth: 2, dashArray: const [4, 5]) + start: 7, + end: 7, + borderWidth: 2, + borderColor: Colors.black, + dashArray: const [4, 5]) ]), primaryYAxis: NumericAxis(plotBands: [ PlotBand( - start: 36, end: 36, borderWidth: 2, dashArray: const [4, 5]) + start: 36, + end: 36, + borderWidth: 2, + borderColor: Colors.black, + dashArray: const [4, 5]) ]), - series: >[ + series: >[ LineSeries( dataSource: chartData, xValueMapper: (ChartSampleData data, _) => data.x,