didRangeChange method
Implementation
@override
void didRangeChange(RenderChartAxis axis) {
if (parent == null) {
return;
}
if (axis == xAxis) {
_isXRangeChanged = true;
_findVisibleIndexes();
}
if (axis == yAxis) {
_isYRangeChanged = true;
}
if (_isXRangeChanged || _isYRangeChanged) {
parent!.behaviorArea?.hideInteractiveTooltip();
}
if (controller.isVisible) {
markNeedsLayout();
}
}