BarSeries constructor

const BarSeries({
  1. Key? key,
  2. required List<XYDataPoint> data,
  3. Color color = Colors.blue,
  4. Color? borderColor,
  5. double borderWidth = 0,
  6. double barWidth = 0.8,
  7. double cornerRadius = 0,
  8. bool horizontal = false,
  9. void onBarTap(
    1. XYDataPoint point,
    2. int index
    )?,
})

Implementation

const BarSeries({
  super.key,
  required this.data,
  this.color = Colors.blue,
  this.borderColor,
  this.borderWidth = 0,
  this.barWidth = 0.8,
  this.cornerRadius = 0,
  this.horizontal = false,
  this.onBarTap,
});