I have previously been using ChartJS to generate a dashboard in a custom community using Lightning Components. It appears that the Spring 17 release does not like the ChartJS library. I get 2 separate errors, one for each chart I'm generating.
For a bar chart I'm using, I get a "str.replace is not a function" when trying to generate the chart.
For a Pie chart I'm using, I get a popup error in builder when I try to generate the legend: 'Refused to evaluate a string as JavaScript because 'unsafe-eval' is not an allowed source of script in the following Content Security Policy directive: "script-src *".'
So, 2 questions: 1. Is anyone else seeing this? 2. What alternative JS libraries are you using for custom charts in communities?