BaseChartData constructor

BaseChartData({
  1. FlBorderData? borderData,
  2. required FlTouchData<BaseTouchResponse> touchData,
})

It draws 4 borders around your chart, you can customize it using borderData, touchData defines the touch behavior and responses.

Implementation

BaseChartData({
  FlBorderData? borderData,
  required this.touchData,
}) : borderData = borderData ?? FlBorderData();