computeViewportScaleFactor method

  1. @override
double computeViewportScaleFactor(
  1. double domainWindow
)
override

Returns the viewportScaleFactor needed to present the given domainWindow.

Implementation

@override
double computeViewportScaleFactor(double domainWindow) =>
    _domainInfo.domainDiff / domainWindow;