Skip to content

Commit eeb9ddc

Browse files
Updated sample
1 parent a740823 commit eeb9ddc

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

lib/main.dart

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,7 @@ class RiskHeatMapState extends State<RiskHeatMap> {
9191
}
9292

9393
SfCartesianChart _buildHeatmapChart() {
94-
return
95-
SfCartesianChart(
94+
return SfCartesianChart(
9695
backgroundColor: Colors.blueGrey.shade900,
9796
plotAreaBorderWidth: 0,
9897
title: const ChartTitle(
@@ -129,10 +128,9 @@ class RiskHeatMapState extends State<RiskHeatMap> {
129128
majorGridLines: const MajorGridLines(width: 0),
130129
majorTickLines: const MajorTickLines(size: 0),
131130
labelStyle: const TextStyle(
132-
color: Colors.transparent, // Hide default labels.
131+
color: Colors.transparent,
133132
fontSize: 0,
134133
),
135-
labelIntersectAction: AxisLabelIntersectAction.multipleRows,
136134
multiLevelLabelStyle: const MultiLevelLabelStyle(
137135
borderWidth: 0, borderColor: Colors.transparent),
138136
multiLevelLabels: const <NumericMultiLevelLabel>[

0 commit comments

Comments
 (0)