diff --git a/ui/components/graphs/line-chart.tsx b/ui/components/graphs/line-chart.tsx index 7ab92b4ddf..daefb55808 100644 --- a/ui/components/graphs/line-chart.tsx +++ b/ui/components/graphs/line-chart.tsx @@ -87,10 +87,7 @@ const CustomLineTooltip = ({ {newFindings !== undefined && (
- + - +
-

+

{typeof data.value === "number" ? data.value.toLocaleString() : data.value} @@ -66,7 +63,10 @@ export function ChartTooltip({ {data.newFindings !== undefined && data.newFindings > 0 && (

- + {data.newFindings} New Findings
@@ -75,7 +75,10 @@ export function ChartTooltip({ {data.new !== undefined && data.new > 0 && (
- + {data.new} New
@@ -84,14 +87,20 @@ export function ChartTooltip({ {data.muted !== undefined && data.muted > 0 && (
- + {data.muted} Muted
)} {data.change !== undefined && ( -

+

{data.change > 0 ? "+" : ""} {data.change}% @@ -146,7 +155,10 @@ export function MultiSeriesChartTooltip({ {entry.value} {entry.payload[`${entry.dataKey}_change`] && ( - + ({entry.payload[`${entry.dataKey}_change`] > 0 ? "+" : ""} {entry.payload[`${entry.dataKey}_change`]}%)