switch (interpolationMethod) { case INTERPOLATE_REGRESSION: calculateBestFitLine(); this.interpolationMethod = interpolationMethod; break;
switch (interpolationMethod) { case INTERPOLATE_REGRESSION: calculateBestFitLine(); case INTERPOLATE_LEFT: case INTERPOLATE_RIGHT: