Unable to render unicode data in charts


#1

Chart.prototype.loadChart = function (id) {
this.myChart = this.myLayout.cells(“a”).attachChart({
view: id,
value: “#sales#”,
label: “#श्री#”,
legend: {
template: “#श्री#”,
valign: “middle”,
width: 90,
align: “right”
}
});
var data = [
{ id: 1, sales: 7.4, श्री: “2006”, year:“2006” },
{ id: 2, sales: 9.0, श्री: “2007”, year:“2007” },
{ id: 3, sales: 7.3, श्री: “2008”, year:“2008” },
{ id: 4, sales: 7.6, श्री: “2009”, year:“2009” }
];
this.myChart.parse(data, “json”);
};
return Chart;
}());


#2

Thank you fro your report.
The problem is confirmed, we’ll try to fix it in the future updates.
For now I can suggest you to replace the unicode characters from the json only.