themeString

The sparkline theme. This can be either a built-in theme or "sass". When set to "sass" the sparkline will read the variables from the Sass-based themes.

The supported values are:

  • "sass" - special value, see notes
  • "black"
  • "blueopal"
  • "bootstrap"
  • "default"
  • "highcontrast"
  • "metro"
  • "metroblack"
  • "moonlight"
  • "silver"
  • "uniform"

Example

<div id="sparkline"></div>
<script>
$("#sparkline").kendoSparkline({
    type: "column",
    theme: "bootstrap",
    series: [{
        data: [10, 15, 8, 12]
    }]
});
</script>
In this article
theme
Not finding the help you need?
Contact Support