ScatterSeries constructor
const
ScatterSeries({
- Key? key,
- required List<
XYDataPoint> data, - Color color = Colors.blue,
- Color? borderColor,
- double borderWidth = 1,
- double radius = 5,
- MarkerShape shape = MarkerShape.circle,
- double opacity = 1.0,
- double radiusAccessor(
- XYDataPoint point
- Color colorAccessor(
- XYDataPoint point
- void onPointTap(
- XYDataPoint point,
- int index
Implementation
const ScatterSeries({
super.key,
required this.data,
this.color = Colors.blue,
this.borderColor,
this.borderWidth = 1,
this.radius = 5,
this.shape = MarkerShape.circle,
this.opacity = 1.0,
this.radiusAccessor,
this.colorAccessor,
this.onPointTap,
});