BarDataSet<T extends PointChartValue>  constructor 
      
      BarDataSet<T extends PointChartValue> ({ 
    
    
- required List<T> data,
- String? legend,
- PdfColor? borderColor,
- double borderWidth = 1.5,
- PdfColor color = PdfColors.blue,
- bool? drawBorder,
- bool drawSurface = true,
- double surfaceOpacity = 1,
- double width = 10,
- double offset = 0,
- Axis axis = Axis.horizontal,
- PdfColor? pointColor,
- double pointSize = 3,
- bool drawPoints = false,
- BuildCallback? shape,
- Widget buildValue(- Context context,
- T value
 
- ValuePosition valuePosition = ValuePosition.auto,
Implementation
BarDataSet({
  required List<T> data,
  String? legend,
  PdfColor? borderColor,
  double borderWidth = 1.5,
  PdfColor color = PdfColors.blue,
  bool? drawBorder,
  this.drawSurface = true,
  this.surfaceOpacity = 1,
  this.width = 10,
  this.offset = 0,
  this.axis = Axis.horizontal,
  PdfColor? pointColor,
  double pointSize = 3,
  bool drawPoints = false,
  BuildCallback? shape,
  Widget Function(Context context, T value)? buildValue,
  ValuePosition valuePosition = ValuePosition.auto,
})  : drawBorder = drawBorder ?? borderColor != null && color != borderColor,
      assert((drawBorder ?? borderColor != null && color != borderColor) ||
          drawSurface),
      super(
        legend: legend,
        color: pointColor ?? color,
        data: data,
        buildValue: buildValue,
        drawPoints: drawPoints,
        pointSize: pointSize,
        shape: shape,
        valuePosition: valuePosition,
        borderColor: borderColor,
        borderWidth: borderWidth,
      );