LineSeries constructor

const LineSeries({
  1. Key? key,
  2. required List<XYDataPoint> data,
  3. Color color = Colors.blue,
  4. double strokeWidth = 2,
  5. bool showMarkers = false,
  6. double markerRadius = 4,
  7. Color? markerColor,
  8. bool smooth = false,
  9. double tension = 0.4,
  10. List<double>? dashPattern,
  11. void onPointTap(
    1. XYDataPoint point,
    2. int index
    )?,
})

Implementation

const LineSeries({
  super.key,
  required this.data,
  this.color = Colors.blue,
  this.strokeWidth = 2,
  this.showMarkers = false,
  this.markerRadius = 4,
  this.markerColor,
  this.smooth = false,
  this.tension = 0.4,
  this.dashPattern,
  this.onPointTap,
});