I have a page with 3 charts from kendo ui, and only one its not loading in IE8, the chart that im having problem is the bar chart with this configuration:
$(elementName).kendoChart({
seriesDefaults: {
type: "column",
stack: stacked,
opacity: 1.0
},
legend: {
visible: true,
position: "bottom"
},
series: dataSeries,
categoryAxis: {
categories: [CARREGADO,TENTATIVAS,ATENDIDO,CPC,BOLETOS ENVIADOS,BOLETOS PAGOS],
labels: {
visible: true,
font: ".85em, Verdana, Helvetica, Sans-Serif",
rotation: 0
}
},
valueAxis: {
visible: true,
max: 1,
min: 0,
labels: {
visible: true
}
},
tooltip: {
visible: true,
template: "#= series.name #: #: (value * 100).toFixed (2) + '%' #"
},
chartArea: {
background: "transparent"
}
});
NOTE: This is a method so all the configurarion came from parameters, i tried to put the valus but if i've forgotten something important, please ask on the comments that ill update the question.
Exception:
Unhandled exception at line 26, column 30453 in ../js/kendo.all.min.js
0x80070057 - JavaScript runtime error: Invalid argument.
WoW ! It took me a while to figure it out and debug it, but the problem is actually quite simple.
Just remove the comma right after ".85em" and you are good to go.