Use this method to save the chart data array values to a tab delimited text file. The entire contents of the chart data array is saved to file, along with a header line containing each profile name and its associated scale label. This method is equivalent to selecting the Export Data button in the Toolbar.
[Visual Basic] Sub SaveChartDataToFile(PathAndFilename As String, Optional strDelimiter As String = vbTab, Optional bVisibleProfilesOnly As Boolean = False) [C#] void XYChartNETCtl.SaveChartDataToFile(System.String PathAndFilename, System.String strDelimiter, System.Boolean bVisibleProfilesOnly ) [C++] void SaveChartDataToFile(System::String __gc *, System::String __gc *, bool)
The file can be viewed immediately in MS Excel or any other spreadsheet program.
XYChartNETCtl1 is the name of the XY Chart NET control instance placed on the form.
[Visual Basic] XYChartNETCtl1.SaveChartDataToFile("c:\data\chartdata.txt") 'Save data to file [C#] XYChartNETCtl1.SaveChartDataToFile("c:\\data\\chartdata.txt", ",", false); //Save data to file [C++] XYChartNETCtl1->SaveChartDataToFile("c:\\data\\chartdata.txt", ",", false); //Save data to file

The contents of the chartdata.txt file are:
