property Chart.CanUndo as Boolean
Retrieves a value that indicates whether the chart can perform an Undo operation.

TypeDescription
Boolean A Boolean expression that specifies whether the chart can perform the last Undo operation.
For instance, you can use the CanUndo property to update the Undo button in your toolbar, so the user knows that Undo operations in the chart may be performed. Call the Undo method to Undo the last chart operation. By default, the if the AllowUndoRedo property is True, the CTRL+Z performs the last Undo operation. The CanRedo property retrieves a value that specifies whether the chart can execute the next operation in the chart's Redo queue. The Redo redoes the next action in the chart's redo queue. If the AllowUndoRedo property is True, the CTRL+Y redoes the next action in the chart's Redo queue. The UndoListAction property lists the Undo actions that can be performed in the chart. The RedoListAction property lists the Redo actions that can be performed in the chart.