# LegendItem

The LegendItem type declaration and related types. Optional fields are marked with ?.

Canonical: https://chart.syidax.com/docs/types/LegendItem/

<a id="declaration"></a>

## Type declaration

```typescript
export interface LegendItem {
  label: string;
  swatchColor: string;
  swatchShape?: 'square' | 'circle' | 'line';
  disabled?: boolean;
  seriesIndex?: number;
  id?: string | number;
}
```

<a id="related"></a>

## Related types


