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

# IInsightBodyProps

- Package: [@gooddata/sdk-ui-dashboard](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/index.md)
- Kind: interface
- Source: https://github.com/gooddata/gooddata-ui-sdk/blob/rel/11.64/libs/sdk-ui-dashboard/src/presentation/widget/insight/types.ts

Insight body props.

**Signature:**

```typescript
export interface IInsightBodyProps extends Partial<IVisualizationCallbacks> 
```
**Extends:** Partial&lt;[IVisualizationCallbacks](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui/sdk-ui.ivisualizationcallbacks/index.md)&gt;

## Properties

| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [backend](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.iinsightbodyprops/index.md#iinsightbodypropsbackend) |  | [IAnalyticalBackend](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-backend-spi/sdk-backend-spi.ianalyticalbackend/index.md) | Backend to work with. |
| [colorPalette](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.iinsightbodyprops/index.md#iinsightbodypropscolorpalette) |  | [IColorPalette](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.icolorpalette/index.md) \| undefined | Configure color palette to use for the chart. If you do not specify this, then the palette will be obtained from style settings stored on the backend. |
| [config](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.iinsightbodyprops/index.md#iinsightbodypropsconfig) |  | { mapboxToken?: string; agGridToken?: string; separators?: [ISeparators](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.iseparators/index.md); forceDisableDrillOnAxes?: boolean; isExportMode?: boolean; selectedPoints?: [IDrillEventIntersectionElement](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui/sdk-ui.idrilleventintersectionelement/index.md)[][]; } | Additional config that should be passed to the underlying visualization. |
| [drillableItems](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.iinsightbodyprops/index.md#iinsightbodypropsdrillableitems) |  | [ExplicitDrill](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui/sdk-ui.explicitdrill/index.md)[] \| undefined | Configure chart drillability; e.g. which parts of the charts can be clicked. |
| [drillStep?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.iinsightbodyprops/index.md#iinsightbodypropsdrillstep) |  | [IDrillStep](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.idrillstep/index.md) | _(Optional)_ This property contains current drill step context. It is undefined if rendered insight is placed directly in the dashboard. It is defined when the insight is rendered in a drill dialog. |
| [ErrorComponent](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.iinsightbodyprops/index.md#iinsightbodypropserrorcomponent) |  | ComponentType&lt;[IErrorProps](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui/sdk-ui.ierrorprops/index.md)&gt; | Component to render if embedding fails. |
| [execConfig?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.iinsightbodyprops/index.md#iinsightbodypropsexecconfig) |  | [IExecutionConfig](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.iexecutionconfig/index.md) | _(Optional)_ Contains configuration that should be part of insight execution |
| [insight](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.iinsightbodyprops/index.md#iinsightbodypropsinsight) |  | [IInsight](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.iinsight/index.md) | The insight to render. |
| [layerTables?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.iinsightbodyprops/index.md#iinsightbodypropslayertables) |  | [ILayerTableDefinition](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-ext/sdk-ui-ext.ilayertabledefinition/index.md)[] | **_(ALPHA)_** _(Optional)_ Optional precomputed per-layer table definitions for layered visualizations "show as table" rendering. |
| [LoadingComponent](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.iinsightbodyprops/index.md#iinsightbodypropsloadingcomponent) |  | ComponentType&lt;[ILoadingProps](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui/sdk-ui.iloadingprops/index.md)&gt; | Component to render while the insight is loading. |
| [locale](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.iinsightbodyprops/index.md#iinsightbodypropslocale) |  | [ILocale](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.ilocale/index.md) | Locale to use for localization of texts appearing in the chart. Note: text values coming from the data itself are not localized. |
| [permissions?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.iinsightbodyprops/index.md#iinsightbodypropspermissions) |  | [IWorkspacePermissions](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.iworkspacepermissions/index.md) | _(Optional)_ The current workspace permissions. |
| [settings](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.iinsightbodyprops/index.md#iinsightbodypropssettings) |  | [IUserWorkspaceSettings](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.iuserworkspacesettings/index.md) \| undefined | The current user settings. |
| [widget](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.iinsightbodyprops/index.md#iinsightbodypropswidget) |  | [IInsightWidget](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.iinsightwidget/index.md) | Definition of insight widget to render. |
| [workspace](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.iinsightbodyprops/index.md#iinsightbodypropsworkspace) |  | string | Workspace where the insight exists. |

## Property details

### IInsightBodyProps.backend

Backend to work with.

**Signature:**

```typescript
backend: IAnalyticalBackend;
```

### IInsightBodyProps.colorPalette

Configure color palette to use for the chart. If you do not specify this, then the palette will be obtained from style settings stored on the backend.

**Signature:**

```typescript
colorPalette: IColorPalette | undefined;
```

### IInsightBodyProps.config

Additional config that should be passed to the underlying visualization.

**Signature:**

```typescript
config: {
        mapboxToken?: string;
        agGridToken?: string;
        separators?: ISeparators;
        forceDisableDrillOnAxes?: boolean;
        isExportMode?: boolean;
        selectedPoints?: IDrillEventIntersectionElement[][];
    };
```

### IInsightBodyProps.drillableItems

Configure chart drillability; e.g. which parts of the charts can be clicked.

**Signature:**

```typescript
drillableItems: ExplicitDrill[] | undefined;
```

### IInsightBodyProps.drillStep

This property contains current drill step context.

It is undefined if rendered insight is placed directly in the dashboard. It is defined when the insight is rendered in a drill dialog.

**Signature:**

```typescript
drillStep?: IDrillStep;
```

### IInsightBodyProps.ErrorComponent

Component to render if embedding fails.

**Signature:**

```typescript
ErrorComponent: ComponentType<IErrorProps>;
```

### IInsightBodyProps.execConfig

Contains configuration that should be part of insight execution

**Signature:**

```typescript
execConfig?: IExecutionConfig;
```

### IInsightBodyProps.insight

The insight to render.

**Signature:**

```typescript
insight: IInsight;
```

### IInsightBodyProps.layerTables

> **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).
> 

Optional precomputed per-layer table definitions for layered visualizations "show as table" rendering.

**Signature:**

```typescript
layerTables?: ILayerTableDefinition[];
```

### IInsightBodyProps.LoadingComponent

Component to render while the insight is loading.

**Signature:**

```typescript
LoadingComponent: ComponentType<ILoadingProps>;
```

### IInsightBodyProps.locale

Locale to use for localization of texts appearing in the chart.

Note: text values coming from the data itself are not localized.

**Signature:**

```typescript
locale: ILocale;
```

### IInsightBodyProps.permissions

The current workspace permissions.

**Signature:**

```typescript
permissions?: IWorkspacePermissions;
```

### IInsightBodyProps.settings

The current user settings.

**Signature:**

```typescript
settings: IUserWorkspaceSettings | undefined;
```

### IInsightBodyProps.widget

Definition of insight widget to render.

**Signature:**

```typescript
widget: IInsightWidget;
```

### IInsightBodyProps.workspace

Workspace where the insight exists.

**Signature:**

```typescript
workspace: string;
```
