The requested page is not available for the requested platform. You are viewing the content for Default platform.

SparklineBuilder.DataSourceOptions(Action<DataSourceOptionsBuilder>) Method

Binds the widget to data.

Namespace: DevExtreme.AspNet.Mvc.Builders

Assembly: DevExtreme.AspNet.Core.dll

Declaration

public SparklineBuilder DataSourceOptions(
    Action<DataSourceOptionsBuilder> configurator
)

Parameters

Name Type Description
configurator Action<DataSourceOptionsBuilder>

Returns

Type Description
SparklineBuilder

Remarks

In Razor files, use the following notation to set the option's value:

@Html.DevExtreme().Sparkline().DataSourceOptions(...)
See Also