Series.IsCompatible(SeriesPoint) Method
Checks if the specified point is compatible with the current series scale type.
Namespace: DevExpress.XtraCharts
Assembly: DevExpress.XtraCharts.v25.1.dll
NuGet Package: DevExpress.Charts
Declaration
Parameters
| Name | Type | Description |
|---|---|---|
| point | SeriesPoint | A SeriesPoint object which specifies the series point to compare. If null (Nothing in Visual Basic), then a ArgumentNullException will be raised. |
Returns
| Type | Description |
|---|---|
| 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