method Chart.RedoRemoveAction ([Action as Variant], [Count as Variant])
Removes the last the redo actions that can be performed in the chart.

TypeDescription
Action as Variant [optional] A long expression that specifies the action being removed. If missing or -1, all actions are removed. 

The Action parameter can be one of the following:

  • exChartUndoRedoAddBar(0) ~ "AddBar;ITEMINDEX;KEY", indicates that a new bar has been created
  • exChartUndoRedoRemoveBar(1) ~ "RemoveBar;ITEMINDEX;KEY", indicates that a bar has been removed
  • exChartUndoRedoMoveBar(2) ~ "MoveBar;ITEMINDEX;KEY", indicates that a bar has been moved or resized
  • exChartUndoRedoPercentChange(3) ~ "PercentChange;ITEMINDEX;KEY", indicates that the bar's percent has been changed
  • exChartUndoRedoUpdateBar(4) ~ "UpdateBar;ITEMINDEX;KEY", indicates that one or more properties of the bar has been updated (ItemBar property, this operation can be added only using the StartUpdateBar / EndUpdateBar methods)
  • exChartUndoRedoParentChangeBar(5) ~ "ParentChangeBar;ITEMINDEX;KEY", indicates that the bar's parent has been changed
  • exChartUndoRedoGroupBars(6) ~ "GroupBars;ITEMINDEXA;KEYA;STARTA;ITEMINDEXB;KEYB;STARTB", specifies that two bars has been grouped
  • exChartUndoRedoUngroupBars(7) ~ "UngroupBars;ITEMINDEXA;KEYA;STARTA;ITEMINDEXB;KEYB;STARTB", specifies that two bars has been ungrouped
  • exChartUndoRedoDefineSummaryBars(8) ~ "DefineSummaryBars;SUMMARYITEMINDEX;SUMMARYKEY;ITEMINDEX;KEY", indicates that a bar has been defined as a child of a summary bar
  • exChartUndoRedoUndefineSummaryBars(9) ~ "UndefineSummaryBars;SUMMARYITEMINDEX;SUMMARYKEY;ITEMINDEX;KEY", indicates that a bar has been removed from the summary bar's children
  • exChartUndoRedoAddLink(10) ~ "AddLink;KEY", indicates that a new link has been created
  • exChartUndoRedoRemoveLink(11) ~ "RemoveLink;KEY", indicates that a link has been removed
  • exChartUndoRedoUpdateLink(12) ~ "UpdateLink;KEY", specifies that one of more properties of the link has been updated (Link property, this operation can be added only using the StartUpdateLink / EndUpdateLink methods)
  • exListUndoRedoAddItem(13) ~ "AddItem;ITEMINDEX", indicates that a new item has been created
  • exListUndoRedoRemoveItem(14) ~ "RemoveItem;ITEMINDEX", indicates that an item has been removed
  • exListUndoRedoChangeItemPos(15) ~ "ChangeItemPos;ITEMINDEX", indicates that an item changes its position or / and parent
  • exListUndoRedoChangeCellValue(16) ~ "ChangeCellValue;ITEMINDEX;CELLINDEX", indicates that the cell's value has been changed
  • exListUndoRedoChangeCellState(17) ~ "ChangeCellState;ITEMINDEX;CELLINDEX", indicates that the cell's state has been changed

For instance, RedoListAction(0) removes only AddBar actions in the redo stack.

Count as Variant [optional] A long expression that indicates the number of actions to be removed. If missing or -1, all actions are removed. For instance, RedoListAction(0,1) removes only the first AddBar action from  the redo stack.
Use the RedoRemoveAction method to remove the first action from the redo queue. Use the RedoRemoveAction() ( with no parameters ) to remove all redo actions. The RedoListAction property retrieves the list of actions that an redo operation can perform. The UndoRemoveAction method removes the last action to be performed if the Undo method is invoked.

The records of the Undo/Redo queue may contain actions in the following format:

The records of the Undo/Redo queue may contain actions in the following format (available starting from 23.0):

Also, the Undo/Redo queue may include:

.