Object Reference > Chart2DData Object > Chart2DData Object Methods > ShiftPoints Method (Chart2DData) |
ShiftPoints Method (Chart2DData)
Copies a block of points leftwards in a series.
Function ShiftPoints(Series As Long, NumPoints As Long, Dest As Long, Src As Long) As Boolean
Shifted-out points are set to the value of the HoleValue property. Returns True on success and False on failure. If the data is in array format, all series are affected.
Part |
Type |
Description |
Series |
Long |
Series containing shifted data. |
NumPoints |
Long |
Number of points to shift. |
Dest |
Long |
Index of shift destination. |
Src |
Long |
Start index of shifted data. |
See Also