[CorePlot] Updated sample to reflect 1.4 Api changes