File tree Expand file tree Collapse file tree
apps/webapp/app/components/primitives/charts Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- import React , { useCallback , useMemo } from "react" ;
1+ import React , { useCallback } from "react" ;
22import {
33 Bar ,
44 BarChart ,
@@ -11,20 +11,13 @@ import {
1111 type XAxisProps ,
1212 type YAxisProps ,
1313} from "recharts" ;
14- import {
15- ChartTooltip ,
16- ChartTooltipContent ,
17- type ChartConfig ,
18- type ChartState ,
19- } from "~/components/primitives/charts/Chart" ;
20- import { cn } from "~/utils/cn" ;
21- import { ChartBarLoading , ChartBarInvalid , ChartBarNoData } from "./ChartLoading" ;
14+ import { ChartTooltip , ChartTooltipContent } from "~/components/primitives/charts/Chart" ;
2215import { useChartContext } from "./ChartContext" ;
23- import { ChartRoot , useHasNoData } from "./ChartRoot" ;
16+ import { ChartBarInvalid , ChartBarLoading , ChartBarNoData } from "./ChartLoading" ;
17+ import { useHasNoData } from "./ChartRoot" ;
2418// Legend is now rendered by ChartRoot outside the chart container
2519import { ZoomTooltip , useZoomHandlers } from "./ChartZoom" ;
2620import { getBarOpacity } from "./hooks/useHighlightState" ;
27- import type { ZoomRange } from "./hooks/useZoomSelection" ;
2821
2922//TODO: fix the first and last bars in a stack not having rounded corners
3023
You can’t perform that action at this time.
0 commit comments