XyDataSeries<TAllPoints> Constructor
Overload List
OverloadDescription
Initializes a new instance of the XyDataSeries<TAllPoints> class.  
Initializes a new instance of the XyDataSeries<TAllPoints> class.  
This overloaded constructor accepts prepopulated XValues, YValues arrays which may come from other parts of your application.

The reference to these arrays is re-used inside the XyDataSeries, to prevent copying or creating new memory in SciChart to hold your data.

Note that if you update the xValues, yValues, you need to call DataSeries<TX,TY>.InvalidateParentSurface with parameter hasDataChanges=true.

Methods like XyDataSeries<TX,TY>.Append will still work but note that may cause the internal array to be recreated, disconnecting it from your passed in xValues and yValues.

 
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also