diff --git a/src/types.ts b/src/types.ts index d57e4e4..f6903e6 100755 --- a/src/types.ts +++ b/src/types.ts @@ -3,7 +3,6 @@ import { Serie, Options } from '@chartwerk/core'; export type BarSerieParams = { matchedKey: string; colorFormatter: (serie: BarSerie) => string; - label: BarLabel; } export type BarSerie = Serie & Partial; export type BarAdditionalOptions = { @@ -33,21 +32,3 @@ export type RowValues = { colors: (string | ((data: any) => string))[], serieTarget: string[], } - -export enum BarLabelPosition { - TOP = 'top', - CENTER = 'center', - BOTTOM = 'bottom', -} - -export enum BarLabelPlaceholder { - TRIANGLE = 'triangle', -} - -export type BarLabel = { - position: BarLabelPosition; - offset: number; - value: string; - valueFormatter: (data: any) => string; - placeholder: BarLabelPlaceholder; -}