From 798e02ea95636b43f6e4f79c46c56fa6570133cf Mon Sep 17 00:00:00 2001 From: SanjeevLakhwani Date: Wed, 6 Nov 2024 13:24:36 -0500 Subject: [PATCH] feat(chart): Added optional id to data --- src/types/chartTypes.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/types/chartTypes.ts b/src/types/chartTypes.ts index 469d4ca..56aa391 100644 --- a/src/types/chartTypes.ts +++ b/src/types/chartTypes.ts @@ -7,6 +7,7 @@ export type CategoricalChartDataType = CategoricalChartDataItem[]; export interface CategoricalChartDataItem { x: string; y: number; + id?: string; } export type TooltipPayload = TooltipPayloadItem[];