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

Popular posts from this blog

HTTP/1.0 407 Proxy Authentication Required PHP -

curl - PHP fsockopen help required -

c# - Resource not found error -