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,FarPoint.Win.Chart.ChartViewType.View2D,false);
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, FarPoint.Win.Chart.ChartViewType.View2D, False)
fpSpread1.Sheets(0).Charts.Add(chart)