Add cast to string to fix chart. [skip ci]

This commit is contained in:
James Cole 2018-01-01 16:46:15 +01:00
parent bea06a06a1
commit 06cfc391a1
No known key found for this signature in database
GPG Key ID: C16961E655E74B5E

View File

@ -31,6 +31,7 @@
*/
function formatLabel(str, maxwidth) {
var sections = [];
str = String(str);
var words = str.split(" ");
var temp = "";