setScaleFunction abstract method

void setScaleFunction(
  1. List<Point<double>> points
)

Sets piecewise linear scale, depending on the zoom. The 'points' must be sorted by x; x coordinates must be unique. If zoom < minZoom(points) or zoom > maxZoom(points), it is set within the defined bounds before applying the function. By default, the scale function is defined by a single point (1, 1). If points is null or points.empty(), it resets the function to the default. If points.size() == 1, the scale is constant and equals point.y.

Implementation

void setScaleFunction(core.List<math.Point<core.double>> points);