Skip to content

Commit

Permalink
Merge pull request #6 from BPraveenBalu/master
Browse files Browse the repository at this point in the history
FLUT-860276 Migrated the code with new charts.
  • Loading branch information
LavanyaGowtham2021 authored Dec 18, 2023
2 parents db4d55c + 2d65f3d commit 06f4045
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,14 @@ class _MyHomePageState extends State<MyHomePage> {
),
body: Center(
child: SfCartesianChart(
primaryXAxis:
NumericAxis(visibleMinimum: 4, visibleMaximum: 7, interval: 1),
primaryXAxis: NumericAxis(
initialVisibleMinimum: 4,
initialVisibleMaximum: 7,
interval: 1),
title: ChartTitle(text: 'Sales analysis'),
tooltipBehavior: _tooltipBehavior,
zoomPanBehavior: _zoomPanBehavior,
series: <ChartSeries<SalesData, double>>[
series: <LineSeries<SalesData, double>>[
LineSeries<SalesData, double>(
dataSource: <SalesData>[
SalesData(1, 35),
Expand Down

0 comments on commit 06f4045

Please sign in to comment.