FarPoint.Win.Spread Assembly > FarPoint.Win.Spread.Chart Namespace > SpreadChart Class > SpreadChart Constructor : SpreadChart Constructor(String,Type,Point,Size) |
'Declaration Public Function New( _ ByVal formula As String, _ ByVal seriesType As Type, _ ByVal location As Point, _ ByVal size As Size _ )
'Usage Dim formula As String Dim seriesType As Type Dim location As Point Dim size As Size Dim instance As New SpreadChart(formula, seriesType, location, size)
Point loc = new Point(20,30); Size size = new Size(300,400); FarPoint.Win.Spread.Chart.SpreadChart chart = new FarPoint.Win.Spread.Chart.SpreadChart("Sheet1!$A$2:$A$7", typeof(FarPoint.Win.Chart.BarSeries),loc,size); fpSpread1.Sheets[0].Charts.Add(chart);
Dim loc As New Point(20, 30) Dim size As New Size(300, 400) Dim chart As New FarPoint.Win.Spread.Chart.SpreadChart("Sheet1!$A$2:$A$7", GetType(FarPoint.Win.Chart.BarSeries), loc, size) FpSpread1.Sheets(0).Charts.Add(chart)
Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows Server 2012 R2, Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10