Chart constructor
Chart(
- List<
CandleModel> candles, { - Offset? mousePointer,
- double lineWidth = 1.0,
- bool enableGridLines = false,
- Color gridLineColor = Colors.grey,
- int gridLineAmount = 6,
- double gridLineWidth = 0.5,
- int? showingItem = 0,
- Color gridLineLabelColor = Colors.grey,
- int? scale = 10,
- String labelPrefix = "\$",
- Color increaseColor = Colors.green,
- Color decreaseColor = Colors.red,
Implementation
Chart(this.candles,
{this.mousePointer,
this.lineWidth = 1.0,
this.enableGridLines = false,
this.gridLineColor = Colors.grey,
this.gridLineAmount = 6,
this.gridLineWidth = 0.5,
this.showingItem = 0,
this.gridLineLabelColor = Colors.grey,
this.scale = 10,
this.labelPrefix = "\$",
this.increaseColor = Colors.green,
this.decreaseColor = Colors.red});