Skip to content

Commit b415c7d

Browse files
committed
add yRegions field to ChartData type
1 parent 377c2fb commit b415c7d

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

src/index.tsx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,12 @@ type ChartData = {
1616
start?: Date;
1717
end?: Date;
1818
yMarkers?: Array<{ label: string; value: number; options?: object }>;
19+
yRegions?: Array<{
20+
label: string;
21+
start: number;
22+
end: number;
23+
options?: object;
24+
}>;
1925
};
2026

2127
type SelectEvent = {

0 commit comments

Comments
 (0)