Back to Devexpress

PivotCustomChartDataSourceRowsEventArgs.CreateRow(Object, Object, Object) Method

windowsforms-devexpress-dot-xtrapivotgrid-dot-pivotcustomchartdatasourcerowseventargs-dot-createrow-x28-system-dot-object-system-dot-object-system-dot-object-x29.md

latest4.5 KB
Original Source

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.XtraPivotGrid

Assembly : DevExpress.XtraPivotGrid.v25.2.dll

NuGet Package : DevExpress.Win.PivotGrid

Declaration

csharp
public PivotChartDataSourceRow CreateRow(
    object series,
    object argument,
    object value
)
vb
Public Function CreateRow(
    series As Object,
    argument As Object,
    value As Object
) As PivotChartDataSourceRow

Parameters

NameTypeDescription
seriesObject

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

TypeDescription
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

Rows

PivotChartDataSourceRow

CustomChartDataSourceRows

PivotCustomChartDataSourceRowsEventArgs Class

PivotCustomChartDataSourceRowsEventArgs Members

DevExpress.XtraPivotGrid Namespace