FarPoint.Win.SpreadJ アセンブリ > FarPoint.Win.Spread.Chart 名前空間 > SpreadChart クラス > SpreadChart コンストラクタ : SpreadChart コンストラクタ(Type,ChartViewType,Point,Size) |
'Declaration
Public Function New( _ ByVal seriesType As Type, _ ByVal viewType As ChartViewType, _ ByVal location As Point, _ ByVal size As Size _ )
'使用法
Dim seriesType As Type Dim viewType As ChartViewType Dim location As Point Dim size As Size Dim instance As New SpreadChart(seriesType, viewType, location, size)
public SpreadChart( Type seriesType, ChartViewType viewType, Point location, Size 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(typeof(FarPoint.Win.Chart.BarSeries),FarPoint.Win.Chart.ChartViewType.View2D, 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(GetType(FarPoint.Win.Chart.BarSeries), FarPoint.Win.Chart.ChartViewType.View2D, loc, size) FpSpread1.Sheets(0).Charts.Add(chart)