PivotGridOptionsChartDataSourceBase.ProvideCellValuesAsType Property

Gets or sets the type to which cell values are converted, before they are exported to the Chart Control.

Namespace: DevExpress.XtraPivotGrid.Data

Assembly: DevExpress.PivotGrid.v20.2.Core.dll

Declaration

[DefaultValue(null)]
[Browsable(false)]
public virtual Type ProvideCellValuesAsType { get; set; }
<DefaultValue(Nothing)>
<Browsable(False)>
Public Overridable Property ProvideCellValuesAsType As Type

Property Value

Type Default Description
Type

null

A Type object, representing the type to which cell values are converted.

Property Paths

You can access this nested property as listed below:

Library Object Type Path to ProvideCellValuesAsType
WinForms Controls PivotGridControl
.OptionsChartDataSource.ProvideCellValuesAsType
ASP.NET Controls and MVC Extensions ASPxPivotGrid
.OptionsChartDataSource.ProvideCellValuesAsType
MVCxPivotGrid
.OptionsChartDataSource.ProvideCellValuesAsType
PivotGridSettings
.OptionsChartDataSource.ProvideCellValuesAsType
Reporting XRPivotGrid
.OptionsChartDataSource.ProvideCellValuesAsType

Remarks

If the ProvideCellValuesAsType property is set to null, cell values are not converted before export, unless the pivot grid contains multiple data fields with different data types. In this instance, cell values are converted to Double (if possible).

To specify the type to which the column field and row field values are converted, use the PivotGridOptionsChartDataSourceBase.ProvideColumnFieldValuesAsType and PivotGridOptionsChartDataSourceBase.ProvideRowFieldValuesAsType properties, respectively.

See Also