# LegendItem Type documentation

## TypeScript declaration

### [LegendItem](<https://github.com/siemens/element/blob/main/projects/charts-ng/common/si-chart.interfaces.ts#L85-L90>)

**Kind:** interface

```
import type { LegendItem } from '@siemens/charts-ng/common';
```

```
interface LegendItem
```

#### Properties

| Name | Type | Description |
| --- | --- | --- |
| [color](<https://github.com/siemens/element/blob/main/projects/charts-ng/common/si-chart.interfaces.ts#L89-L89>) (optional) | `string` |  |
| [dataIndex](<https://github.com/siemens/element/blob/main/projects/charts-ng/common/si-chart.interfaces.ts#L87-L87>) | `number` |  |
| [itemName](<https://github.com/siemens/element/blob/main/projects/charts-ng/common/si-chart.interfaces.ts#L86-L86>) | `string` |  |
| [selected](<https://github.com/siemens/element/blob/main/projects/charts-ng/common/si-chart.interfaces.ts#L88-L88>) (optional) | `boolean` |  |
