Skip to main content

PolarChartCommonSeriesSettingsBuilder.Bar(Action<PolarChartCommonSeriesSettingsBuilder>) Method

An object that specifies configuration properties for all series of the 'bar' type in the chart. Mirrors the client-side bar object.

Namespace: DevExtreme.AspNet.Mvc.Builders

Assembly: DevExtreme.AspNet.Core.dll

Declaration

public PolarChartCommonSeriesSettingsBuilder Bar(
    Action<PolarChartCommonSeriesSettingsBuilder> configurator
)

Parameters

Name Type Description
configurator Action<PolarChartCommonSeriesSettingsBuilder>

A function that allows you to specify nested options.

Returns

Type Description
PolarChartCommonSeriesSettingsBuilder

A reference to this instance after the method is called.

Remarks

This method provides access to methods that allow you to configure nested options of the client-side bar object.

To specify nested options, use a lambda expression.

@(Html.DevExtreme().PolarChart()
    .CommonSeriesSettings(settings => settings
        .Bar(bar => bar
            // call methods to specify nested options
        )
    )
)

Refer to Nested Options and Collections for more information.

See Also