VolRenderer constructor
VolRenderer(
- Rect mainRect,
- double maxValue,
- double minValue,
- double topPadding,
- int fixedLength,
- KChartStyle chartStyle,
- KChartColors chartColors,
Implementation
VolRenderer(
Rect mainRect,
double maxValue,
double minValue,
double topPadding,
int fixedLength,
this.chartStyle,
this.chartColors,
) : super(
chartRect: mainRect,
maxValue: maxValue,
minValue: minValue,
topPadding: topPadding,
fixedLength: fixedLength,
gridColor: chartColors.gridColor,
) {
mVolWidth = this.chartStyle.volWidth;
}