New to Kendo UI for jQuery? Start a free 30-day trial

Refresh

methods

Reloads the data and repaints the chart.

<div id="sparkline"></div>
<script>
var sparkline = $("#sparkline").kendoSparkline({
    type: "column",
    series: [{
        data: [10, 15, 8, 12]
    }]
}).data("kendoSparkline");

// Update data and refresh
sparkline.options.series[0].data = [20, 25, 18, 22];
sparkline.refresh();
</script>
Not finding the help you need?
Contact Support