Removing needless formatting calls, and fixes to the trend line to use the accessors instead of numerical indexes.