updateTrendLineData method
void
updateTrendLineData()
Implementation
void updateTrendLineData() {
trendLineState?.updateMetrics(
maxValue: maxValue,
scale: scaleY,
contentTop: _contentRect.top,
);
}