VolRenderer constructor

VolRenderer(
  1. Rect mainRect,
  2. double maxValue,
  3. double minValue,
  4. double topPadding,
  5. int fixedLength,
  6. KChartStyle chartStyle,
  7. 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;
}