series.stack.typeString(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
<div id="stock-chart"></div>
<script>
$("#stock-chart").kendoStockChart({
dataSource: {
data: [
{ date: "2013/01/01", value1: 40, value2: 60 },
{ date: "2013/01/02", value1: 42, value2: 58 }
]
},
series: [{
type: "column",
field: "value1",
stack: {
type: "100%"
}
}, {
type: "column",
field: "value2",
stack: {
type: "100%"
}
}],
categoryAxis: {
field: "date"
}
});
</script>