Update ChartNew.js

bug on line 2305

                    if (typeof (data.labels[0]) == "string") lgtxt2 = data.labels[i].trim();
                    else lgtxt2 = "";


replaced by : 

                    if (typeof (data.labels[0]) == "string") lgtxt2 = data.labels[0].trim();
                    else lgtxt2 = "";