Class ChartAxisCollection
Collection of ChartAxis instances.
Implements
System.Collections.IList
System.Collections.ICollection
System.Collections.IEnumerable
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.Windows.Forms.Chart
Assembly: Syncfusion.Chart.Base.dll
Syntax
public class ChartAxisCollection : ChartBaseList, IList, ICollection, IEnumerable
Constructors
ChartAxisCollection()
Initializes a new instance of the ChartAxisCollection class.
Declaration
public ChartAxisCollection()
Properties
Item[Int32]
Gets or sets ChartAxis by index in collection.
Declaration
public ChartAxis this[int index] { get; set; }
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index |
Property Value
Type | Description |
---|---|
ChartAxis | The Chart Axis Object to add to the Chart Axis collection. |
Methods
Add(ChartAxis)
Adds the specified value.
Declaration
public int Add(ChartAxis value)
Parameters
Type | Name | Description |
---|---|---|
ChartAxis | value | The value. |
Returns
Type | Description |
---|---|
System.Int32 | The position into which the new axis element was inserted. |
AddRange(ChartAxis[])
Adds the array of ChartAxis.
Declaration
public int AddRange(ChartAxis[] values)
Parameters
Type | Name | Description |
---|---|---|
ChartAxis[] | values | The values. |
Returns
Type | Description |
---|---|
System.Int32 | Returns the count of axis collection. |
Contains(ChartAxis)
Determines whether collection contains the specified value.
Declaration
public bool Contains(ChartAxis value)
Parameters
Type | Name | Description |
---|---|---|
ChartAxis | value | The value. |
Returns
Type | Description |
---|---|
System.Boolean |
|
IndexOf(ChartAxis)
Returns the specified index of ChartAxis.
Declaration
public int IndexOf(ChartAxis value)
Parameters
Type | Name | Description |
---|---|---|
ChartAxis | value | The value. |
Returns
Type | Description |
---|---|
System.Int32 | The index of value if found in the list; otherwise, -1. |
Insert(Int32, ChartAxis)
Inserts the specified index.
Declaration
public void Insert(int index, ChartAxis value)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | The index. |
ChartAxis | value | The value. |
Remove(ChartAxis)
Removes the specified value.
Declaration
public void Remove(ChartAxis value)
Parameters
Type | Name | Description |
---|---|---|
ChartAxis | value | The value. |
Implements
System.Collections.IList
System.Collections.ICollection
System.Collections.IEnumerable