New to Telerik UI for ASP.NET MVC? Start a free 30-day trial

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:

C#
public class ChartWizardBuilder<T> : WidgetBuilderBase<ChartWizard<T>, ChartWizardBuilder<T>>, IHtmlString where T : class

Inheritance: objectWidgetBuilderBase<ChartWizard<T>, ChartWizardBuilder<T>>ChartWizardBuilder<T>

Implements: IHtmlString

Inherited Members WidgetBuilderBase<ChartWizard<T>, ChartWizardBuilder<T>>.ToComponent()WidgetBuilderBase<ChartWizard<T>, ChartWizardBuilder<T>>.Name(string)WidgetBuilderBase<ChartWizard<T>, ChartWizardBuilder<T>>.Deferred(bool)WidgetBuilderBase<ChartWizard<T>, ChartWizardBuilder<T>>.ModelMetadata(ModelMetadata)WidgetBuilderBase<ChartWizard<T>, ChartWizardBuilder<T>>.HtmlAttributes(object)WidgetBuilderBase<ChartWizard<T>, ChartWizardBuilder<T>>.HtmlAttributes(IDictionary<string, object>)WidgetBuilderBase<ChartWizard<T>, ChartWizardBuilder<T>>.AsModule(bool)WidgetBuilderBase<ChartWizard<T>, ChartWizardBuilder<T>>.Render()WidgetBuilderBase<ChartWizard<T>, ChartWizardBuilder<T>>.ScriptAttributes(object, bool)WidgetBuilderBase<ChartWizard<T>, ChartWizardBuilder<T>>.ScriptAttributes(IDictionary<string, object>, bool)WidgetBuilderBase<ChartWizard<T>, ChartWizardBuilder<T>>.ToHtmlString()WidgetBuilderBase<ChartWizard<T>, ChartWizardBuilder<T>>.ToClientTemplate()WidgetBuilderBase<ChartWizard<T>, ChartWizardBuilder<T>>.ToString()WidgetBuilderBase<ChartWizard<T>, ChartWizardBuilder<T>>.Componentobject.GetType()object.MemberwiseClone()object.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()...

Constructors

Initializes a new instance of the ChartWizard class.

C#
public ChartWizardBuilder(ChartWizard<T> component)
Parameters:componentChartWizard<T>

The component.

Methods

Binds the ChartWizard to a list of objects

C#
public ChartWizardBuilder<T> BindTo(IEnumerable<T> dataSource)
Parameters:dataSourceIEnumerable<T>Returns:

ChartWizardBuilder<T>

Configure the columns which will be used to map the dataItems.

C#
public ChartWizardBuilder<T> DataColumns(Action<ChartWizardDataColumnFactory<T>> configurator)
Parameters:configuratorAction<ChartWizardDataColumnFactory<T>>

The action that configures the datacolumns.

Returns:

ChartWizardBuilder<T>

Sets the data source configuration of the ChartWizard.

C#
public ChartWizardBuilder<T> DataSource(Action<ReadOnlyAjaxDataSourceBuilder<T>> configurator)
Parameters:configuratorAction<ReadOnlyAjaxDataSourceBuilder<T>>Returns:

ChartWizardBuilder<T>

Sets the ID of the DataSource widget used by the ChartWizard.

C#
public ChartWizardBuilder<T> DataSource(string dataSourceId)
Parameters:dataSourceIdstringReturns:

ChartWizardBuilder<T>

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.

C#
public ChartWizardBuilder<T> DefaultState(Action<ChartWizardDefaultStateSettingsBuilder<T>> configurator)
Parameters:configuratorAction<ChartWizardDefaultStateSettingsBuilder<T>>

The action that configures the defaultstate.

Returns:

ChartWizardBuilder<T>

Configures the client-side events.

C#
public ChartWizardBuilder<T> Events(Action<ChartWizardEventBuilder> configurator)
Parameters:configuratorAction<ChartWizardEventBuilder>

The client events action.

Returns:

ChartWizardBuilder<T>

Example:
C#
@(Html.Kendo().ChartWizard()
.Name("ChartWizard")
.Events(events =&gt; events
.Close("onClose")
)
)

Configure the options for the export functionality

C#
public ChartWizardBuilder<T> ExportOptions(Action<ChartWizardExportOptionsSettingsBuilder<T>> configurator)
Parameters:configuratorAction<ChartWizardExportOptionsSettingsBuilder<T>>

The action that configures the exportoptions.

Returns:

ChartWizardBuilder<T>

The configuration of the ChartWizard messages. Use this option to customize or localize the ChartWizard messages.

C#
public ChartWizardBuilder<T> Messages(Action<ChartWizardMessagesSettingsBuilder<T>> configurator)
Parameters:configuratorAction<ChartWizardMessagesSettingsBuilder<T>>

The action that configures the messages.

Returns:

ChartWizardBuilder<T>

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.

C#
public ChartWizardBuilder<T> State(Action<ChartWizardStateSettingsBuilder<T>> configurator)
Parameters:configuratorAction<ChartWizardStateSettingsBuilder<T>>

The action that configures the state.

Returns:

ChartWizardBuilder<T>

Sets the Window configuration of the ChartWizard.

C#
public ChartWizardBuilder<T> Window(Action<WindowBuilder> configurator)
Parameters:configuratorAction<WindowBuilder>Returns:

ChartWizardBuilder<T>