Skip to content

Commit

Permalink
add yRegions field to ChartData type
Browse files Browse the repository at this point in the history
  • Loading branch information
collingreen committed Nov 20, 2022
1 parent 79b81c6 commit d6e94c5
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,12 @@ type ChartData = {
start?: Date;
end?: Date;
yMarkers?: Array<{ label: string; value: number; options?: object; }>;
yRegions?: Array<{
label: string;
start: number;
end: number;
options?: object;
}>;
};

type SelectEvent = {
Expand Down

0 comments on commit d6e94c5

Please sign in to comment.