CandlestickChart constructor

const CandlestickChart({
  1. Key? key,
  2. required List<Candle> candles,
  3. double height = 240,
  4. Color? bullColor,
  5. Color? bearColor,
  6. double wickWidth = 1.5,
  7. double bodyWidthFactor = 0.55,
  8. bool showDates = true,
  9. int gridLines = 5,
})

Implementation

const CandlestickChart({
  super.key,
  required this.candles,
  this.height = 240,
  this.bullColor,
  this.bearColor,
  this.wickWidth = 1.5,
  this.bodyWidthFactor = 0.55,
  this.showDates = true,
  this.gridLines = 5,
});