Converts a position local to the whole chart into plot-local coordinates.
Offset chartToPlot(Offset chartPosition) => chartPosition + chartRect.topLeft;