Skip to main content

PivotCustomChartDataSourceDataEventArgs(PivotChartItemType, PivotChartItemDataMember, PivotFieldValueItem, PivotGridCellItem, Object) Constructor

Initializes a new instance of the PivotCustomChartDataSourceDataEventArgs class with the specified settings.

Namespace: DevExpress.Web.ASPxPivotGrid

Assembly: DevExpress.Web.ASPxPivotGrid.v24.2.dll

Declaration

public PivotCustomChartDataSourceDataEventArgs(
    PivotChartItemType itemType,
    PivotChartItemDataMember itemDataMember,
    PivotFieldValueItem fieldValueItem,
    PivotGridCellItem cellItem,
    object value
)

Parameters

Name Type Description
itemType PivotChartItemType

A PivotChartItemType enumeration value specifying the type of a PivotGrid control’s item to be represented in a ChartControl. This value is assigned to the PivotCustomChartDataSourceDataEventArgs.ItemType property.

itemDataMember PivotChartItemDataMember

A PivotChartItemDataMember enumeration value specifying the type of a chart data member that will represent the current pivot grid item. This value is assigned to the PivotCustomChartDataSourceDataEventArgs.ItemDataMember property.

fieldValueItem DevExpress.XtraPivotGrid.Data.PivotFieldValueItem

A DevExpress.XtraPivotGrid.Data.PivotFieldValueItem object.

cellItem DevExpress.XtraPivotGrid.Data.PivotGridCellItem

A DevExpress.XtraPivotGrid.Data.PivotGridCellItem object.

value Object

A Object specifying the value to be displayed in a chart. This value is assigned to the PivotCustomChartDataSourceDataEventArgs.Value property.

Remarks

Instances of the PivotCustomChartDataSourceDataEventArgs class are automatically created, initialized and passed to the ASPxPivotGrid.CustomChartDataSourceData event handlers. Typically, there is no need to call this constructor directly from your code.

See Also