Skip to main content

SeriesPoint.CreateSeriesPointWithId(Object, Int32) Method

For internal use only. Creates a new instance of SeriesPoint with the specified argument and ID.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v23.2.dll

NuGet Package: DevExpress.Charts

Declaration

public static SeriesPoint CreateSeriesPointWithId(
    object argument,
    int id
)

Parameters

Name Type Description
argument Object

A Object value which specifies the argument of the series point. This value is converted to a String, and then assigned to the SeriesPoint.Argument property. Note that if the argument is null (Nothing in Visual Basic) or Empty, then a ArgumentException will be thrown.

id Int32

An integer value which specifies the ID of the point.

Returns

Type Description
SeriesPoint

A SeriesPoint object which represents the series point with the specified ID.

Remarks

The CreateSeriesPointWithId method is for internal use only, to support serialization of a Pie chart’s empty points. So, normally, you don’t need to use it in your code.

See Also