Closed adsazad closed 6 months ago
LineChartBarData(
dotData: FlDotData(
show: true,
getDotPainter: (spot, percent, barData, index) {
return FlDotCrossPainter(
width: 1,
color: Colors.blue,
);
},
),
barWidth: 1,
color: Colors.blue,
spots: [FlSpot(sPeak.toDouble(), windowEcgData[sPeak])],
),
Currently, I am using FlSpot to mark points on data in the chart. but those points are too big. I want to make the spots smaller.