PowerTools SPREAD for ASP.NET 8.0J
MaxAxisType プロパティ

このスパークライングループの各スパークラインの縦軸最大値の種類を示す値を取得または設定します。
構文
'Declaration
 
Public Property MaxAxisType As SparklineAxisMinMax
public SparklineAxisMinMax MaxAxisType {get; set;}
次のサンプルコードは、セルにスパークラインを作成します。
FarPoint.Web.Spread.ExcelSparklineSetting ex = new FarPoint.Web.Spread.ExcelSparklineSetting();
ex.MaxAxisType = FarPoint.Web.Spread.SparklineAxisMinMax.Custom;
ex.ManualMax = 12;
ex.MinAxisType = FarPoint.Web.Spread.SparklineAxisMinMax.Custom;
ex.ManualMin = 0;
fpSpread1.Sheets[0].RowCount = 10;
fpSpread1.Sheets[0].ColumnCount = 10;
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.Web.Spread.SparklineType.Column, ex);
Dim ex As New FarPoint.Web.Spread.ExcelSparklineSetting()
ex.MaxAxisType = FarPoint.Web.Spread.SparklineAxisMinMax.Custom
ex.ManualMax = 12
ex.MinAxisType = FarPoint.Web.Spread.SparklineAxisMinMax.Custom
ex.ManualMin = 0
FpSpread1.Sheets(0).RowCount = 10
FpSpread1.Sheets(0).ColumnCount = 10
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.Web.Spread.SparklineType.Column, ex)
参照

ExcelSparklineSetting クラス
ExcelSparklineSetting メンバ

 

 


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