Back to Devexpress

Series.IsCompatible(SeriesPoint) Method

corelibraries-devexpress-dot-xtracharts-dot-series-dot-iscompatible-x28-devexpress-dot-xtracharts-dot-seriespoint-x29.md

latest2.5 KB
Original Source

Series.IsCompatible(SeriesPoint) Method

Checks if the specified point is compatible with the current series scale type.

Namespace : DevExpress.XtraCharts

Assembly : DevExpress.XtraCharts.v25.2.dll

NuGet Package : DevExpress.Charts

Declaration

csharp
public bool IsCompatible(
    SeriesPoint point
)
vb
Public Function IsCompatible(
    point As SeriesPoint
) As Boolean

Parameters

NameTypeDescription
pointSeriesPoint

A SeriesPoint object which specifies the series point to compare. If null ( Nothing in Visual Basic), then a ArgumentNullException will be raised.

|

Returns

TypeDescription
Boolean

true if the series point is compatible with the current series scale type; otherwise, false.

|

Remarks

Use the IsCompatible method before adding a SeriesPoint to the Series. A point is considered to be compatible with the current series provided that:

  • The type of its argument is the same as the type specified by the SeriesBase.ArgumentScaleType property of this series, or can be converted to this type.
  • The type of its values is the same as the type specified by the SeriesBase.ValueScaleType property of this series.

See Also

Add(SeriesPoint)

AddRange(SeriesPoint[])

Series Class

Series Members

DevExpress.XtraCharts Namespace