+
+
+
+
+ }
+ allowEscapeViewBox={{ x: true, y: true }}
+ wrapperStyle={{ zIndex: 1000 }}
+ animationDuration={0}
+ />
+
+
+ {max > 0 && (
+
+ )}
+
+
+
+
+ {formatTotal ? formatTotal(total) : total.toLocaleString()}
+
+
+ );
+}
+
+function UsageSparklineTooltip({
+ active,
+ payload,
+ unitLabel,
+}: TooltipProps