Spread Windows Forms 11.0 Product Documentation
MinAxisType Property
Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > ExcelSparklineSetting Class : MinAxisType Property
Gets or sets a value that specifies how the vertical axis minimums for the sparklines in this sparkline group are calculated.
Syntax
'Declaration
 
Public Property MinAxisType As SparklineAxisMinMax
'Usage
 
Dim instance As ExcelSparklineSetting
Dim value As SparklineAxisMinMax
 
instance.MinAxisType = value
 
value = instance.MinAxisType
public SparklineAxisMinMax MinAxisType {get; set;}
Example
This example sets the MinAxisType property.
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)
See Also

Reference

ExcelSparklineSetting Class
ExcelSparklineSetting Members