PowerTools SPREAD for Windows Forms 10.0J
MinAxisType プロパティ


スパークライングループにあるスパークラインの垂直軸の最小値の計算方法を示す値を取得または設定します。
構文
'Declaration
 
Public Property MinAxisType As SparklineAxisMinMax
'使用法
 
Dim instance As ExcelSparklineSetting
Dim value As SparklineAxisMinMax
 
instance.MinAxisType = value
 
value = instance.MinAxisType
public SparklineAxisMinMax MinAxisType {get; set;}
次のサンプルコードは、MinAxisType プロパティを設定します。
FarPoint.Win.Spread.ExcelSparklineSetting ex = new FarPoint.Win.Spread.ExcelSparklineSetting();
ex.MaxAxisType = FarPoint.Win.Spread.SparklineAxisMinMax.Custom;
ex.ManualMax = 12;
ex.MinAxisType = FarPoint.Win.Spread.SparklineAxisMinMax.Custom;
ex.ManualMin = 0;
fpSpread1.Sheets[0].Cells[1, 0].Value = 2;
fpSpread1.Sheets[0].Cells[1, 1].Value = 11;
fpSpread1.Sheets[0].Cells[1, 2].Value = 4;
fpSpread1.Sheets[0].AddSparkline("Sheet1!$A$2:$C$2", "Sheet1!$D$2:$D$2", FarPoint.Win.Spread.SparklineType.Column, ex);
Dim ex As New FarPoint.Win.Spread.ExcelSparklineSetting()
ex.MaxAxisType = FarPoint.Win.Spread.SparklineAxisMinMax.Custom
ex.ManualMax = 12
ex.MinAxisType = FarPoint.Win.Spread.SparklineAxisMinMax.Custom
ex.ManualMin = 0
FpSpread1.Sheets(0).Cells(1, 0).Value = 2
FpSpread1.Sheets(0).Cells(1, 1).Value = 11
FpSpread1.Sheets(0).Cells(1, 2).Value = 4
FpSpread1.Sheets(0).AddSparkline("Sheet1!$A$2:$C$2", "Sheet1!$D$2:$D$2", FarPoint.Win.Spread.SparklineType.Column, ex)
参照

ExcelSparklineSetting クラス
ExcelSparklineSetting メンバ

 

 


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