GrapeCity.Windows.SpreadSheet.Data Namespace > SpreadXYDataSeries Class : SpreadXYDataSeries Constructor |
'Declaration Public Function New()
'Usage Dim instance As New SpreadXYDataSeries()
public SpreadXYDataSeries()
GrapeCity.Windows.SpreadSheet.Data.SpreadXYDataSeries ds = new GrapeCity.Windows.SpreadSheet.Data.SpreadXYDataSeries(); ds.XValues.Add(2); ds.XValues.Add(3); ds.XValues.Add(5); ds.Values.Add(3); ds.Values.Add(6); ds.Values.Add(4); GrapeCity.Windows.SpreadSheet.Data.SpreadChart sc = gcSpreadSheet1.ActiveSheet.AddChart("chart", GrapeCity.Windows.SpreadSheet.Data.SpreadChartType.ScatterLines, 50, 50, 500, 400); sc.DataSeries.Add(ds);
Dim ds As New GrapeCity.Windows.SpreadSheet.Data.SpreadXYDataSeries() ds.XValues.Add(2) ds.XValues.Add(3) ds.XValues.Add(5) ds.Values.Add(3) ds.Values.Add(6) ds.Values.Add(4) Dim sc = GcSpreadSheet1.ActiveSheet.AddChart("chart", GrapeCity.Windows.SpreadSheet.Data.SpreadChartType.ScatterLines, 50, 50, 500, 400) sc.DataSeries.Add(ds)
Target Platforms: Windows 7, Windows 8 Desktop, Windows Vista SP1 or later, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6