When trying to create a chart with kendo I get several errors in firebug:
Unexpected value M184.5 NaN 215.5 NaN 215.5 NaN 184.5 NaN z parsing d attribute.
I copied the example in the Kendo UI download and included the jQuery UI framework (jquery-ui-1.8.16.custom.js) . Any ideas what I can do to resolve this?
So I'm basically running:
<script>
function createChart() {
$("#chart").kendoChart({
theme: $(document).data("kendoSkin") || "kendo",
title: {
text: "Internet Users"
},
legend: {
position: "bottom"
},
seriesDefaults: {
type: "column"
},
series: [{
name: "World",
data: [15.7, 16.7, 20, 23.5, 26.6]
}, {
name: "United States",
data: [67.96, 68.93, 75, 74, 78]
}],
valueAxis: {
labels: {
format: "{0}%"
}
},
categoryAxis: {
categories: [2005, 2006, 2007, 2008, 2009]
},
tooltip: {
visible: true,
format: "{0}%"
}
});
}
$(document).ready(function() {
createChart();
$(document).bind("kendo:skinChange", function(e) {
createChart();
});
});
</script>
thanks,
TC
Unexpected value M184.5 NaN 215.5 NaN 215.5 NaN 184.5 NaN z parsing d attribute.
I copied the example in the Kendo UI download and included the jQuery UI framework (jquery-ui-1.8.16.custom.js) . Any ideas what I can do to resolve this?
So I'm basically running:
<script>
function createChart() {
$("#chart").kendoChart({
theme: $(document).data("kendoSkin") || "kendo",
title: {
text: "Internet Users"
},
legend: {
position: "bottom"
},
seriesDefaults: {
type: "column"
},
series: [{
name: "World",
data: [15.7, 16.7, 20, 23.5, 26.6]
}, {
name: "United States",
data: [67.96, 68.93, 75, 74, 78]
}],
valueAxis: {
labels: {
format: "{0}%"
}
},
categoryAxis: {
categories: [2005, 2006, 2007, 2008, 2009]
},
tooltip: {
visible: true,
format: "{0}%"
}
});
}
$(document).ready(function() {
createChart();
$(document).bind("kendo:skinChange", function(e) {
createChart();
});
});
</script>
thanks,
TC