Skip to main content

ColorSchemeEntry.DataSource Property

Gets or sets a data source containing dimensions and measures to be colored.

Namespace: DevExpress.DashboardCommon

Assembly: DevExpress.Dashboard.v24.1.Core.dll

NuGet Package: DevExpress.Dashboard.Core

Declaration

[DefaultValue(null)]
public IDashboardDataSource DataSource { get; set; }

Property Value

Type Default Description
IDashboardDataSource null

A class implementing IDashboardDataSource interface that specifies the data source containing dimensions and measures to be colored.

Remarks

To specify the dimension values/measures to be colored, use the ColorSchemeEntry.DimensionKeys and ColorSchemeEntry.MeasureKey properties, respectively.

Note

Specify the ColorSchemeEntry.DataMember property for the DashboardSqlDataSource and DashboardEFDataSource data sources.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the DataSource property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also