refresh

Reloads the data and repaints the chart.

Example

<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>
In this article
refresh
Not finding the help you need?
Contact Support