javascript - KendoUI Bar chart not working in IE8 -
i have page 3 charts kendo ui, , 1 not loading in ie8, chart im having problem bar chart 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: method configurarion came parameters, tried put valus if i've forgotten important, please ask on comments ill update question.
exception:
unhandled exception @ line 26, column 30453 in ../js/kendo.all.min.js
0x80070057 - javascript runtime error: invalid argument.
wow ! took me while figure out , debug it, problem quite simple.
categoryaxis: { categories: [carregado,tentativas,atendido,cpc,boletos enviados,boletos pagos], labels: { visible: true, font: ".85em, verdana, helvetica, sans-serif", rotation: 0 }
just remove comma right after ".85em" , go.
Comments
Post a Comment