GrapeCity.Xaml.SpreadSheet.Data
AxisPosition Enumeration
Example Example 


GrapeCity.Xaml.SpreadSheet.Data Namespace : AxisPosition Enumeration
Specifies the axis position.
Syntax
'Declaration
 
Public Enum AxisPosition 
   Inherits System.Enum
'Usage
 
Dim instance As AxisPosition
public enum AxisPosition : System.Enum 
Members
MemberDescription
Far Specifies that the position is far.
Near Specifies that the position is near.
Example
This example sets the AxisPosition enumeration.
GrapeCity.Xaml.SpreadSheet.Data.SpreadChart chart = new GrapeCity.Xaml.SpreadSheet.Data.SpreadChart("Chart", GrapeCity.Xaml.SpreadSheet.Data.SpreadChartType.BarStacked, "Sheet1!$A$1:$A$7", 0,0, 200, 200);
gcSpreadSheet1.ActiveSheet.SetArray(0, 0, new object[,] { { 1 }, { 2 }, { 3 }, { 4 }, { 5 }, { 6 }, { 7 }, { 8 }, { 9 }, { 10 } });
//chart.AxisX.AxisPosition = GrapeCity.Xaml.SpreadSheet.Data.AxisPosition.Far;
chart.AxisX.CrossAt = 3;
//chart.AxisY.CrossAt = 3;
gcSpreadSheet1.ActiveSheet.Charts.Add(chart);
Dim chart As New GrapeCity.Xaml.SpreadSheet.Data.SpreadChart("Chart", GrapeCity.Xaml.SpreadSheet.Data.SpreadChartType.BarStacked, "Sheet1!$A$1:$A$7", 0,0, 200, 200)
gcSpreadSheet1.ActiveSheet.SetArray(0, 0, new object(,) { { 1 }, { 2 }, { 3 }, { 4 }, { 5 }, { 6 }, { 7 }, { 8 }, { 9 }, { 10 } })
'chart.AxisX.AxisPosition = GrapeCity.Xaml.SpreadSheet.Data.AxisPosition.Far
chart.AxisX.CrossAt = 3
'chart.AxisY.CrossAt = 3
gcSpreadSheet1.ActiveSheet.Charts.Add(chart)
Inheritance Hierarchy

System.Object
   System.ValueType
      System.Enum
         GrapeCity.Xaml.SpreadSheet.Data.AxisPosition

See Also

Reference

GrapeCity.Xaml.SpreadSheet.Data Namespace