Skip to main content

PivotCustomChartDataSourceRowsEventArgs.CreateRow(Object, Object, Object) Method

Creates a PivotChartDataSourceRow instance that specifies a chart’s series point with the specified argument, series and value.

Namespace: DevExpress.Web.ASPxPivotGrid

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

NuGet Package: DevExpress.Web

Declaration

public PivotChartDataSourceRow CreateRow(
    object series,
    object argument,
    object value
)

Parameters

Name Type Description
series Object

The point’s series. This value is assigned to the PivotChartDataSourceRowBase.Series property of the created PivotChartDataSourceRow object.

argument Object

The point’s argument. This value is assigned to the PivotChartDataSourceRowBase.Argument property of the created PivotChartDataSourceRow object.

value Object

The point’s value. This value is assigned to the PivotChartDataSourceRowBase.Value property of the created PivotChartDataSourceRow object.

Returns

Type Description
PivotChartDataSourceRow

The created PivotChartDataSourceRow instance that specifies a chart’s series point.

Remarks

The CreateRow method creates a chart datasource row. Use this method to add a new row to the collection accessed via the PivotCustomChartDataSourceRowsEventArgs.Rows property. To do this, pass the created PivotChartDataSourceRow instance to the Rows.Add or Rows.Insert method.

See Also