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

SetOptions

methods

Sets the widget options. Changes are cumulative.

Parameters:optionsObject

The chart settings to update.

<span id="sparkline"></span>
<script>
$("#sparkline").kendoSparkline({
  theme: "black",
  data: [1, 2, 3]
});

var sparkline = $("#sparkline").data("kendoSparkline");
sparkline.setOptions({ theme: "uniform" });
</script>
Not finding the help you need?
Contact Support