Assuming that the y-values are monotonic.
double XFromY( double y, ExtrapolationTypes extrapolationType )