--- title: createState description: "Learn how to build custom functionality when working with the React Chart Wizard by Kendo UI with the help of the createState." api_reference: true type: inner_api slug: api_chart-wizard_createstate --- # createState Creates a state object from the provided data and series type. #### Parameters ##### data [ChartWizardDataRow]({% slug api_chart-wizard_chartwizarddatarow %})[] Specifies the data you want to display in the ChartWizard component. ##### seriesType [ChartWizardSeriesType]({% slug api_chart-wizard_chartwizardseriestype %}) Sets the series type of the ChartWizard component. #### Returns [ChartWizardState]({% slug api_chart-wizard_chartwizardstate %}) The state object.