Kendo-UI Chart error -
i trying show kendoui chart inside div , looks log says:
invalid negative value attribute width="-10px"
this code:
<div id="chart"></div>
this javascript:
$("#chart").kendochart({ theme: "metro", legend: { position: "right", labels: { font: "12px arial", color: "white" }, }, chartarea: { background: "", }, datasource: data, series: [ { type: "pie", field: "itemtotal", categoryfield: "itemnameandtotal", explodefield: "exploded" } ], tooltip: { visible: true, template: "${ category }" } });
this css:
#chart { background: #f9a600; border-radius: 5px; margin: 10px 5px 5px 5px; padding: 5px; }
thanks help!
Comments
Post a Comment