Add share as PDF option for charts; changes for Xcode 6.