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

# ILegendItem

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

**Signature:**

```typescript
export interface ILegendItem 
```

## Properties

| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [color](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-charts/sdk-ui-charts.ilegenditem/index.md#ilegenditemcolor) |  | string |  |
| [name](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-charts/sdk-ui-charts.ilegenditem/index.md#ilegenditemname) |  | string |  |
| [onClick](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-charts/sdk-ui-charts.ilegenditem/index.md#ilegenditemonclick) |  | () =&gt; void |  |

## Property details

### ILegendItem.color

**Signature:**

```typescript
color: string;
```

### ILegendItem.name

**Signature:**

```typescript
name: string;
```

### ILegendItem.onClick

**Signature:**

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