# CartesianSeriesDataLabelsInput

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

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

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

## Type declaration

```typescript
export interface CartesianSeriesDataLabelsInput {
  enabled?: boolean;
  format?: string;
  formatter?: (context: { value: number; pointIndex: number; seriesIndex: number; seriesId?: CartesianSeriesId; seriesName?: string }) => string;
  color?: string;
  align?: 'left' | 'center' | 'right';
  verticalAlign?: 'top' | 'middle' | 'bottom';
  filter?: (context: { value: number; pointIndex: number }) => boolean;
  allowOverlap?: boolean;
  padding?: number;
}
```

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

## Related types

- [CartesianSeriesId](https://chart.syidax.com/docs/types/CartesianSeriesId.md)
