GrapeCity.Xaml.SpreadSheet.Data Namespace : SparklineAxisMinMax Enumeration |
'Declaration Public Enum SparklineAxisMinMax Inherits System.Enum
'Usage Dim instance As SparklineAxisMinMax
public enum SparklineAxisMinMax : System.Enum
Member | Description |
---|---|
Custom | Specifies that the vertical axis minimum or maximum for each sparkline in this sparkline group is specified by the manualMin attribute or the manualMax attribute of the sparkline group. |
Group | Specifies that the vertical axis minimum or maximum is shared across all sparklines in this sparkline group and is calculated automatically such that the data point with the minimum or maximum value can be displayed in the plot area. |
Individual | Specifies that the vertical axis minimum or maximum for each sparkline in this sparkline group is calculated automatically such that the data point with the minimum or maximum value can be displayed in the plot area. |
GrapeCity.Xaml.SpreadSheet.Data.CellRange cellr = new GrapeCity.Xaml.SpreadSheet.Data.CellRange(1, 0, 1, 3); GrapeCity.Xaml.SpreadSheet.Data.SparklineSetting ex = new GrapeCity.Xaml.SpreadSheet.Data.SparklineSetting(); ex.MaxAxisType = GrapeCity.Xaml.SpreadSheet.Data.SparklineAxisMinMax.Custom; ex.ManualMax = 12; ex.MinAxisType = GrapeCity.Xaml.SpreadSheet.Data.SparklineAxisMinMax.Custom; ex.ManualMin = 0; gcSpreadSheet1.Sheets[0].Cells[1, 0].Value = 5; gcSpreadSheet1.Sheets[0].Cells[1, 1].Value = 17; gcSpreadSheet1.Sheets[0].Cells[1, 2].Value = 4; gcSpreadSheet1.Sheets[0].SetSparkline(1, 3, cellr, GrapeCity.Xaml.SpreadSheet.Data.DataOrientation.Horizontal, GrapeCity.Xaml.SpreadSheet.Data.SparklineType.Column,ex);
Dim cellr As New GrapeCity.Xaml.SpreadSheet.Data.CellRange(1, 0, 1, 3) Dim ex As New GrapeCity.Xaml.SpreadSheet.Data.SparklineSetting() ex.MaxAxisType = GrapeCity.Xaml.SpreadSheet.Data.SparklineAxisMinMax.Custom ex.ManualMax = 12 ex.MinAxisType = GrapeCity.Xaml.SpreadSheet.Data.SparklineAxisMinMax.Custom ex.ManualMin = 0 GcSpreadSheet1.Sheets(0).Cells(1, 0).Value = 5 GcSpreadSheet1.Sheets(0).Cells(1, 1).Value = 17 GcSpreadSheet1.Sheets(0).Cells(1, 2).Value = 4 GcSpreadSheet1.Sheets(0).SetSparkline(1, 3, cellr, GrapeCity.Xaml.SpreadSheet.Data.DataOrientation.Horizontal, GrapeCity.Xaml.SpreadSheet.Data.SparklineType.Column,ex)
System.Object
System.ValueType
System.Enum
GrapeCity.Xaml.SpreadSheet.Data.SparklineAxisMinMax
Target Platforms: Windows Server 2012, Windows RT