> Documentation index: https://www.gooddata.ai/docs/gooddata-ui/llms.txt lists every page of these docs as Markdown.

# IAnalyticalDesignerClearProps

- Package: [@gooddata/sdk-ui-analytical-designer](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-analytical-designer/index.md)
- Kind: interface
- Stability: alpha
- Source: https://github.com/gooddata/gooddata-ui-sdk/blob/rel/11.68/libs/sdk-ui-analytical-designer/src/embedding/editorHeaderSlotTypes.ts

> **Alpha API.** Initial API, highly likely to change outside SemVer. Don't build on it in production. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

Props of the control that clears the visualization.

**Signature:**

```typescript
export interface IAnalyticalDesignerClearProps extends IAnalyticalDesignerHeaderContext 
```
**Extends:** [IAnalyticalDesignerHeaderContext](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-analytical-designer/sdk-ui-analytical-designer.ianalyticaldesignerheadercontext/index.md)

## Properties

| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [isDisabled](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-analytical-designer/sdk-ui-analytical-designer.ianalyticaldesignerclearprops/index.md#ianalyticaldesignerclearpropsisdisabled) |  | boolean | **_(ALPHA)_** Whether there is nothing to clear, or the visualization is being saved. |
| [label](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-analytical-designer/sdk-ui-analytical-designer.ianalyticaldesignerclearprops/index.md#ianalyticaldesignerclearpropslabel) |  | string | **_(ALPHA)_** Label of the control. |
| [onClear](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-analytical-designer/sdk-ui-analytical-designer.ianalyticaldesignerclearprops/index.md#ianalyticaldesignerclearpropsonclear) |  | () =&gt; void | **_(ALPHA)_** Clears the visualization. Ignored when the control is disabled. |

## Property details

### IAnalyticalDesignerClearProps.isDisabled

> **Alpha API.** Initial API, highly likely to change outside SemVer. Don't build on it in production. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

Whether there is nothing to clear, or the visualization is being saved.

**Signature:**

```typescript
isDisabled: boolean;
```

### IAnalyticalDesignerClearProps.label

> **Alpha API.** Initial API, highly likely to change outside SemVer. Don't build on it in production. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

Label of the control.

**Signature:**

```typescript
label: string;
```

### IAnalyticalDesignerClearProps.onClear

> **Alpha API.** Initial API, highly likely to change outside SemVer. Don't build on it in production. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

Clears the visualization. Ignored when the control is disabled.

**Signature:**

```typescript
onClear: () => void;
```
