getVolY method

double getVolY(
  1. double value
)

Implementation

double getVolY(double value) =>
    (maxValue - value) * (chartRect.height / maxValue) + chartRect.top;