ScatterSeries constructor

const ScatterSeries({
  1. Key? key,
  2. required List<XYDataPoint> data,
  3. Color color = Colors.blue,
  4. Color? borderColor,
  5. double borderWidth = 1,
  6. double radius = 5,
  7. MarkerShape shape = MarkerShape.circle,
  8. double opacity = 1.0,
  9. double radiusAccessor(
    1. XYDataPoint point
    )?,
  10. Color colorAccessor(
    1. XYDataPoint point
    )?,
  11. void onPointTap(
    1. XYDataPoint point,
    2. 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,
});