PointDataSet<T extends PointChartValue> constructor

PointDataSet<T extends PointChartValue>({
  1. required List<T> data,
  2. String? legend,
  3. double pointSize = 3,
  4. PdfColor color = PdfColors.blue,
  5. PdfColor? borderColor,
  6. double borderWidth = 1.5,
  7. bool drawPoints = true,
  8. BuildCallback? shape,
  9. Widget buildValue(
    1. Context context,
    2. T value
    )?,
  10. ValuePosition valuePosition = ValuePosition.auto,
})

Implementation

PointDataSet({
  required this.data,
  String? legend,
  this.pointSize = 3,
  PdfColor color = PdfColors.blue,
  PdfColor? borderColor,
  double borderWidth = 1.5,
  this.drawPoints = true,
  this.shape,
  this.buildValue,
  this.valuePosition = ValuePosition.auto,
}) : super(
        legend: legend,
        color: color,
        borderColor: borderColor,
        borderWidth: borderWidth,
      );