restrainViewPort method
void
restrainViewPort()
Implementation
void restrainViewPort(double offsetLeft, double offsetTop, double offsetRight,
double offsetBottom) {
_contentRect = Rect.fromLTRB(offsetLeft, offsetTop,
_chartWidth - offsetRight, _chartHeight - offsetBottom);
}