Back to Devexpress

SeriesPoint.CreateSeriesPointWithId(Object, Int32) Method

corelibraries-devexpress-dot-xtracharts-dot-seriespoint-dot-createseriespointwithid-x28-system-dot-object-system-dot-int32-x29.md

latest2.6 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Charts

Declaration

csharp
public static SeriesPoint CreateSeriesPointWithId(
    object argument,
    int id
)
vb
Public Shared Function CreateSeriesPointWithId(
    argument As Object,
    id As Integer
) As SeriesPoint

Parameters

NameTypeDescription
argumentObject

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

TypeDescription
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

SeriesPoint Class

SeriesPoint Members

DevExpress.XtraCharts Namespace