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

DefaultState.stack

configuration

The stack configuration of the series.

defaultState.stack

Boolean|Object

Default: false

<div id="chartwizard"></div>
<script>
    $("#chartwizard").kendoChartWizard({
        dataSource: [
        [
            { field: 'Product Name', value: 'Calzone' },
            { field: 'Quantity', value: 1 },
            { field: 'Price', value: 12.39 },
            { field: 'Tax', value: 2.48 },
            { field: 'Total', value: 14.87 }
            ],
        ],
        defaultState: {
            stack: false
        }
    });
</script>

The stack configuration of the series.

The supported stack values are:

  • "normal"
  • "100%"
<div id="chartwizard"></div>
<script>
    $("#chartwizard").kendoChartWizard({
        dataSource: [
        [
            { field: 'Product Name', value: 'Calzone' },
            { field: 'Quantity', value: 1 },
            { field: 'Price', value: 12.39 },
            { field: 'Tax', value: 2.48 },
            { field: 'Total', value: 14.87 }
            ],
        ],
        defaultState: {
            stack: { type: "100%" }
        }
    });
</script>