Skip to main content

ChartCalculatedField.Assign(ChartElement) Method

Copies all the settings from the ChartCalculatedField object passed as the parameter.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v24.1.dll

NuGet Package: DevExpress.Charts

Declaration

public override void Assign(
    ChartElement obj
)

Parameters

Name Type Description
obj ChartElement

A ChartCalculatedField object (the ChartElement descendant) whose settings are assigned to the current object.

Remarks

The Assign method allows the settings of the specified ChartCalculatedField object to be copied to the current ChartCalculatedField object.

If the parameter value is null (Nothing in Visual Basic), then an ArgumentNullException is thrown.

See Also