Class
ChartAxisCollection

Definition

Constructors

ChartAxisCollection(ChartArea)

Initializes a new instance of the ChartAxisCollection class.

Declaration

cs-api-definition
public ChartAxisCollection(ChartArea owner)

Parameters

owner

ChartArea

The owner.

Properties

Owner

Gets the owner.

Declaration

cs-api-definition
public ChartArea Owner { get; }

Property Value

ChartArea

The owner.

Methods

AddRange(params Axis[])

Adds the range.

Declaration

cs-api-definition
public void AddRange(params Axis[] items)

Parameters

items

Axis[]

ClearItems()

Removes all elements from the Collection<T>.

Declaration

cs-api-definition
protected override void ClearItems()

Overrides Collection<Axis>.ClearItems()

Get<T>()

Gets the axis collection.

Declaration

cs-api-definition
public T[] Get<T>() where T : Axis

Returns

T[]

Get<T>(int)

Gets the axis at the specified index.

Declaration

cs-api-definition
public T Get<T>(int index) where T : Axis

Parameters

index

int

The index.

Returns

T

GetRenderEnumerator()

Gets the render enumerator.

Declaration

cs-api-definition
public IEnumerator<Axis> GetRenderEnumerator()

Returns

IEnumerator<Axis>

InsertItem(int, Axis)

Inserts the item.

Declaration

cs-api-definition
protected override void InsertItem(int index, Axis item)

Parameters

index

int

The index.

item

Axis

The item.

Overrides Collection<Axis>.InsertItem(int, Axis)

IsAttached(int)

Determines whether the specified index is attached.

Declaration

cs-api-definition
public bool IsAttached(int index)

Parameters

index

int

The index.

Returns

bool

Purge()

Remove all unused axes from the collection

Declaration

cs-api-definition
public void Purge()

RemoveItem(int)

Removes the element at the specified index of the Collection<T>.

Declaration

cs-api-definition
protected override void RemoveItem(int index)

Parameters

index

int

The zero-based index of the element to remove.

Exceptions

ArgumentOutOfRangeException

index is less than zero.-or-index is equal to or greater than Count.

Overrides Collection<Axis>.RemoveItem(int)