diff --git a/lib/src/chart/base/axis_chart/axis_chart_data.dart b/lib/src/chart/base/axis_chart/axis_chart_data.dart index 16b8dc8b3..9143c0165 100644 --- a/lib/src/chart/base/axis_chart/axis_chart_data.dart +++ b/lib/src/chart/base/axis_chart/axis_chart_data.dart @@ -351,6 +351,12 @@ class FlSpot with EquatableMixin { ); } + ///Prints x and y coordinates of FlSpot list + @override + String toString() { + return '(' + x.toString() + ', ' + y.toString() + ')'; + } + /// Used for splitting lines, or maybe other concepts. static FlSpot nullSpot = FlSpot(null, null);