Chart - Change ''.trim() for $.trim()
Merge pull request #2704 from duboisp/fix-string.trim

Chart - Change ''.trim() for $.trim()