<!-- Public documentation export; not library implementation source. -->
# UndoRedoState

[Integration guide](https://docs.lumencharts.com/charting-library/reference/compatibility) · [Reference index](https://docs.lumencharts.com/charting-library/api/)

Public contract reference. This declaration describes types and callback shapes; availability is constrained by the linked integration guide and the runtime capability. Legacy product-specific fields are not a promise of implementation.

## enableUndo {#enableundo}

```ts
readonly enableUndo: boolean;
```

Use the type signature above and the integration guide for the owning capability.

## undoText {#undotext}

```ts
readonly undoText: string | undefined;
```

Use the type signature above and the integration guide for the owning capability.

## enableRedo {#enableredo}

```ts
readonly enableRedo: boolean;
```

Use the type signature above and the integration guide for the owning capability.

## redoText {#redotext}

```ts
readonly redoText: string | undefined;
```

Use the type signature above and the integration guide for the owning capability.

## originalUndoText {#originalundotext}

```ts
readonly originalUndoText: string | undefined;
```

Use the type signature above and the integration guide for the owning capability.

## originalRedoText {#originalredotext}

```ts
readonly originalRedoText: string | undefined;
```

Use the type signature above and the integration guide for the owning capability.

---
Documentation page: https://docs.lumencharts.com/charting-library/api/UndoRedoState
