setOptions

Sets the provided options to the ChartWizard component.

Example

Open In Dojo
<div id="chartwizard"></div>
<script>
var chartwizard = $("#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 }
                ],
            ],
            window: {
                visible: false
            }
        }).data("kendoChartWizard");
setTimeout(() => {
    chartwizard.setOptions({
        window: {
            visible: true
        },
        defaultState: {
            seriesType: "pie"
        }
    })
}, 1000);
</script>

Parameters

options Object

The new set of options.

In this article