DataPoint constructor

const DataPoint({
  1. required double x,
  2. double? dx,
  3. double y = 0.0,
  4. required double dy,
  5. IDataPointStyle? style,
  6. ThicknessOverride? thickness,
})

Implementation

const DataPoint({
  required this.x,
  this.dx,
  this.y = 0.0,
  required this.dy,
  this.style,
  this.thickness,
}) : fy = y + dy;