seriesDefaults.stack.type String (default: "normal")

The type of stack to plot. The following types are supported:

  • "normal" - the value of the stack is the sum of all points in the category (or group)
  • "100%" - the value of the stack is always 100% (1.00). Points within the category (or group) are represented as percentages.

Example - configure 100% stacked series

<span id="sparkline"></span>
<script>
$("#sparkline").kendoSparkline({
  seriesDefaults: {
    stack: { type: "100%" }
  },
  series: [
    { data: [ 1, 2 ] },
    { data: [ 10, 20 ] }
  ]
});
</script>
In this article
Not finding the help you need?