An open source design system that's fully customizable and agent ready
TypeScript
fix(ChartV2): add _isTopOfStack to SeriesDef interface (#2200)
Cindy Zhang705498b8266d
diff --git a/packages/lab/src/ChartV2/types.ts b/packages/lab/src/ChartV2/types.tsindex 98bd1956ed..ab0b49ab4a 100644--- a/packages/lab/src/ChartV2/types.ts+++ b/packages/lab/src/ChartV2/types.ts@@ -52,6 +52,8 @@ export interface SeriesDef {readonly key: string;/** Data keys this series reads from — used to compute y domain */readonly dataKeys: string[];+ /** Whether this series is the topmost in its stack (set during layout) */+ _isTopOfStack?: boolean;/** Layout hints the chart root uses for cross-series coordination */readonly layout: {/** Stack group — series with same stack accumulate */