API REFERENCE
CartesianSeriesDataLabelsInput
The CartesianSeriesDataLabelsInput type declaration and related types. Optional fields are marked with ?.
Type declaration
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;
}