WidgetFactory<TModel>.PieChart() Method

Creates a PieChart control.

Namespace: DevExtreme.AspNet.Mvc.Factories

Assembly: DevExtreme.AspNet.Core.dll

Declaration

public PieChartBuilder PieChart()

Returns

Type Description
PieChartBuilder

An instance of PieChartBuilder.

Remarks

This method creates a PieChartBuilder class instance whose members can be used to specify PieChart options.

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