Defines the fluent API for configuring the Kendo ChartWizard for ASP.NET MVC.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Type Parameters:
T
Syntax:
public class ChartWizardBuilder<T> : WidgetBuilderBase<ChartWizard<T>, ChartWizardBuilder<T>>, IHtmlString where T : class
Inheritance: objectWidgetBuilderBase<ChartWizard<T>, ChartWizardBuilder<T>>ChartWizardBuilder<T>
Implements:
Inherited Members
Constructors
Initializes a new instance of the ChartWizard class.
public ChartWizardBuilder(ChartWizard<T> component)
The component.
Methods
Binds the ChartWizard to a list of objects
public ChartWizardBuilder<T> BindTo(IEnumerable<T> dataSource)
Configure the columns which will be used to map the dataItems.
public ChartWizardBuilder<T> DataColumns(Action<ChartWizardDataColumnFactory<T>> configurator)
The action that configures the datacolumns.
Returns:Sets the data source configuration of the ChartWizard.
public ChartWizardBuilder<T> DataSource(Action<ReadOnlyAjaxDataSourceBuilder<T>> configurator)
Sets the ID of the DataSource widget used by the ChartWizard.
public ChartWizardBuilder<T> DataSource(string dataSourceId)
Specifies the default seriesType and stack of the ChartWizard component. If a state is not defined, the ChartWizard will use the values of the defaultState to create an initial state.
public ChartWizardBuilder<T> DefaultState(Action<ChartWizardDefaultStateSettingsBuilder<T>> configurator)
The action that configures the defaultstate.
Returns:Configures the client-side events.
public ChartWizardBuilder<T> Events(Action<ChartWizardEventBuilder> configurator)
The client events action.
Returns:Configure the options for the export functionality
public ChartWizardBuilder<T> ExportOptions(Action<ChartWizardExportOptionsSettingsBuilder<T>> configurator)
The action that configures the exportoptions.
Returns:The configuration of the ChartWizard messages. Use this option to customize or localize the ChartWizard messages.
public ChartWizardBuilder<T> Messages(Action<ChartWizardMessagesSettingsBuilder<T>> configurator)
The action that configures the messages.
Returns:Specifies the state of the ChartWizard component. If a state object is provided, the ChartWizard will neglect the dataSource and the creation of an initial state and will use this state instance instead.
public ChartWizardBuilder<T> State(Action<ChartWizardStateSettingsBuilder<T>> configurator)
The action that configures the state.
Returns:Sets the Window configuration of the ChartWizard.
public ChartWizardBuilder<T> Window(Action<WindowBuilder> configurator)