ILanerSeries.MoveByKey

Syntax

MoveByKey(SourceKey: Integer; DestinationKey: Integer; [MoveAfter: Boolean = True]);

Parameters

SourceKey. Key of moved series.

DestinationKey. Key of the series, relative to which position one should move the source series.

MoveAfter. The parameter that determines series moving order. Optional parameter. The default value is True.

Description

The MoveByKey method moves the series in the collection by their keys.

Comments

The series movement depends on the MoveAfter parameter. If the parameter value is True, the series with the SourceKey key is placed after the series with the DestinationKey key. If the MoveAfter parameter value is False, the series with the SourceKey key is placed before the series with the DestinationKey key.

See also:

ILanerSeries