propose to put:
simplePlot.getOffsetWidth() - simplePlot.getOptions().getYAxisOptions().getLabelWidth()

to separate private method. f.e. getPlotWidth()