Skip to content

Commit 5129a42

Browse files
authored
Migrated the code with new charts.
1 parent 337ad0c commit 5129a42

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/main.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ class _MyHomePageState extends State<MyHomePage> {
6464
primaryXAxis: CategoryAxis(),
6565
// Chart title
6666
title: ChartTitle(text: 'Half yearly sales analysis'),
67-
series: <ChartSeries<SalesData, String>>[
67+
series: <LineSeries<SalesData, String>>[
6868
LineSeries<SalesData, String>(
6969
dataSource: chartData,
7070
xValueMapper: (SalesData sales, _) => sales.month,

0 commit comments

Comments
 (0)