or
<div data-role="window" data-append-to="#my-form" data-modal="true" data-visible="false" data-width="100%"></div>kendo.ui.Window.fn.options.appendTo = null;function createChart() { $(".chart").kendoChart({ theme: $(document).data("kendoSkin") || "default", legend: { position: "bottom", visible: false, }, chartArea: { background: "", margin: 0, }, plotArea: { margin: 0, border: { width: 0 } }, seriesDefaults: { type: "line" , border: { width: 1 }, margin: 0, width: 1, markers: { visible: false, } }, series: [{ data: [0, 5, 5, 6, 8, 12, 16, 19, 20, 20, 23, 25, 28, 29, 29, 29, 32, 35, 35], }], valueAxis: { majorUnit: 25, max: 100, min: 0, majorGridLines: { dashType: "dash", } }, categoryAxis: { max: 65, min: 0, line: { dashType: "dash" //or "dash", "longdash", "dashdot", "longdashdot" and "longdashdotdot" }, majorGridLines: { width: 1, }, categories: [0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65 ], majorUnit: 10, }, tooltip: { visible: true, format: "{0}%", }, axisDefaults: { labels: { visible: false }, majorTickType: "none", majorGridLines: { width: 1, }, } }); } $(document).ready(function() { setTimeout(function() { createChart(); // Initialize the chart with a delay to make sure // the initial animation is visible }, 400); $(document).bind("kendo:skinChange", function(e) { createChart(); }); });