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

# insightSetProperties()

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

Gets a new insight that 'inherits' all data from the provided insight but has different properties.

**Signature:**

```typescript
export declare function insightSetProperties<T extends IInsightDefinition>(insight: T, properties?: VisualizationProperties): T;
```

## Parameters

| Parameter | Type | Description |
| --- | --- | --- |
| insight | T | insight to work with |
| properties | [VisualizationProperties](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.visualizationproperties/index.md) | _(Optional)_ new properties to have on the new insight |

**Returns:**

T

always new instance

## Remarks

New properties will be used in the new insight as-is, no merging with existing properties.
