Skip to main content

WidgetFactory<TModel>.Chart() Method

Creates a Chart control.

Namespace: DevExtreme.AspNet.Mvc.Factories

Assembly: DevExtreme.AspNet.Core.dll

Declaration

public ChartBuilder Chart()

Returns

Type Description
ChartBuilder

An instance of ChartBuilder.

Remarks

This method creates a ChartBuilder class instance whose members can be used to specify Chart options.

@(Html.DevExtreme().Chart() // create a Chart
    // call methods to specify control options
)
See Also