PowerTools SPREAD for Windows Forms 8.0J
SpreadChart コンストラクタ(String,Type,Point,Size)


数式。
系列のタイプ。
位置。
サイズ。
SpreadChartクラスの新しいインスタンスを初期化します。
構文
'Declaration
 
Public Function New( _
   ByVal formula As String, _
   ByVal seriesType As Type, _
   ByVal location As Point, _
   ByVal size As Size _
)
'使用法
 
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)
public SpreadChart( 
   string formula,
   Type seriesType,
   Point location,
   Size size
)

パラメータ

formula
数式。
seriesType
系列のタイプ。
location
位置。
size
サイズ。
解説
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)
参照

SpreadChart クラス
SpreadChart メンバ
オーバーロード一覧

 

 


© 2004-2015, GrapeCity inc. All rights reserved.