GrapeCity.Xaml.SpreadSheet.Data
SpreadXYDataSeries Constructor
Example 


Syntax
'Declaration
 
Public Function New()
'Usage
 
Dim instance As New SpreadXYDataSeries()
public SpreadXYDataSeries()
Example
This example creates a chart.
GrapeCity.Xaml.SpreadSheet.Data.SpreadXYDataSeries ds = new GrapeCity.Xaml.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.Xaml.SpreadSheet.Data.SpreadChart sc = gcSpreadSheet1.ActiveSheet.AddChart("chart", GrapeCity.Xaml.SpreadSheet.Data.SpreadChartType.ScatterLines, 50, 50, 500, 400);
sc.DataSeries.Add(ds);
Dim ds As New GrapeCity.Xaml.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.Xaml.SpreadSheet.Data.SpreadChartType.ScatterLines, 50, 50, 500, 400)
sc.DataSeries.Add(ds)
Requirements

Target Platforms: Windows Server 2012, Windows RT

See Also

Reference

SpreadXYDataSeries Class
SpreadXYDataSeries Members

 

 


Copyright © GrapeCity, inc. All rights reserved.

Support Options