SecondaryRenderer constructor

SecondaryRenderer(
  1. Rect mainRect,
  2. double maxValue,
  3. double minValue,
  4. double topPadding,
  5. SecondaryState state,
  6. int fixedLength,
  7. ChartStyle chartStyle,
  8. ChartColors chartColors,
)

Implementation

SecondaryRenderer(
    Rect mainRect,
    double maxValue,
    double minValue,
    double topPadding,
    this.state,
    int fixedLength,
    this.chartStyle,
    this.chartColors)
    : super(
          chartRect: mainRect,
          maxValue: maxValue,
          minValue: minValue,
          topPadding: topPadding,
          fixedLength: fixedLength,
          gridColor: chartColors.gridColor,) {
  mMACDWidth = this.chartStyle.macdWidth;
}