+
+
+ }
+ link={
+
+ }
+ nodePadding={50}
+ margin={{ top: 20, right: 160, bottom: 20, left: 160 }}
+ sort={false}
+ >
+ } />
+
+
+ {linkTooltip.show && (
+
+
+
+ )}
+ {nodeTooltip.show && (
+
+
+
+ )}
+
);
}
diff --git a/ui/components/graphs/index.ts b/ui/components/graphs/index.ts
index 274182af28..2f3671c293 100644
--- a/ui/components/graphs/index.ts
+++ b/ui/components/graphs/index.ts
@@ -1,4 +1,3 @@
-export { BarChart } from "./BarChart";
export { DonutChart } from "./DonutChart";
export { HorizontalBarChart } from "./HorizontalBarChart";
export { LineChart } from "./LineChart";
diff --git a/ui/components/graphs/shared/constants.ts b/ui/components/graphs/shared/constants.ts
index a61847e2be..44e2d50414 100644
--- a/ui/components/graphs/shared/constants.ts
+++ b/ui/components/graphs/shared/constants.ts
@@ -7,6 +7,17 @@ export const SEVERITY_COLORS = {
Critical: "var(--chart-danger-emphasis)",
} as const;
+export const PROVIDER_COLORS = {
+ AWS: "var(--chart-provider-aws)",
+ Azure: "var(--chart-provider-azure)",
+ Google: "var(--chart-provider-google)",
+} as const;
+
+export const STATUS_COLORS = {
+ Success: "var(--chart-success-color)",
+ Fail: "var(--chart-fail)",
+} as const;
+
export const CHART_COLORS = {
tooltipBorder: "var(--chart-border-emphasis)",
tooltipBackground: "var(--chart-background)",
diff --git a/ui/styles/globals.css b/ui/styles/globals.css
index 49fdc3a02e..f87555e889 100644
--- a/ui/styles/globals.css
+++ b/ui/styles/globals.css
@@ -20,7 +20,7 @@
/* Chart Provider Colors */
--chart-provider-aws: #ff9900;
--chart-provider-azure: #00bcd4;
- --chart-provider-google: #db2b49;
+ --chart-provider-google: #EA4335;
/* Chart UI Colors */
--chart-text-secondary: #94a3b8;