Skip to content
Snippets Groups Projects

Clhp map

Merged Sara Savanovic Djordjevic requested to merge clhp_map into main
17 files
+ 172
133
Compare changes
  • Side-by-side
  • Inline
Files
17
@@ -162,6 +162,16 @@ class _BarDataState extends State<BarData> {
@@ -162,6 +162,16 @@ class _BarDataState extends State<BarData> {
reservedSize: 30,
reservedSize: 30,
interval: 2,
interval: 2,
),
),
 
topTitles: SideTitles(
 
showTitles: true,
 
getTextStyles: (value) => const TextStyle(color: Colors.white60),
 
margin: 0,
 
reservedSize: 10,
 
getTitles: (value) {
 
// Return "cm" for a specific value (e.g., 0) and empty string for others
 
return value == 0 ? 'cm' : '';
 
},
 
),
),
),
groupsSpace: 14,
groupsSpace: 14,
gridData: FlGridData(
gridData: FlGridData(
Loading