getY method

  1. @override
double getY(
  1. double y
)
override

Implementation

@override
double getY(double y) {
  //For TrendLine
  updateTrendLineData();
  return (maxValue - y) * scaleY + _contentRect.top;
}