diff --git a/src/lib/components/FailToDeliver.svelte b/src/lib/components/FailToDeliver.svelte
index 1ab63ee8..1ca81ed3 100644
--- a/src/lib/components/FailToDeliver.svelte
+++ b/src/lib/components/FailToDeliver.svelte
@@ -128,29 +128,47 @@
legend: {
enabled: false,
},
+
tooltip: {
+ shared: true,
useHTML: true,
- backgroundColor: "#fff",
+ backgroundColor: "rgba(0, 0, 0, 0.8)", // Semi-transparent black
+ borderColor: "rgba(255, 255, 255, 0.2)", // Slightly visible white border
+ borderWidth: 1,
style: {
- color: "black",
+ color: "#fff",
fontSize: "16px",
padding: "10px",
},
- borderRadius: 2,
- borderWidth: 1,
- borderColor: "#ffffff",
+ borderRadius: 4,
formatter: function () {
- return `${new Date(
+ // Format the x value to display time in hh:mm format
+ let tooltipContent = `${new Date(
this?.x,
).toLocaleDateString("en-US", {
year: "numeric",
month: "short",
day: "numeric",
- })}
${abbreviateNumber(this.y)}`;
+ })}
`;
+
+ // Loop through each point in the shared tooltip
+ this.points.forEach((point) => {
+ tooltipContent += `${point.series.name}:
+ ${abbreviateNumber(
+ point.y,
+ )}
`;
+ });
+
+ return tooltipContent;
},
},
xAxis: {
categories: dates,
+ crosshair: {
+ color: "#fff", // Set the color of the crosshair line
+ width: 1, // Adjust the line width as needed
+ dashStyle: "Solid",
+ },
labels: {
style: {
color: "#fff",
@@ -197,7 +215,12 @@
yAxis: 1,
color: "#E11D48",
marker: {
- fillColor: "transparent",
+ enabled: false,
+ states: {
+ hover: {
+ enabled: false,
+ },
+ },
},
},
{
@@ -207,7 +230,12 @@
data: priceList,
color: "#fff",
marker: {
- fillColor: "transparent",
+ enabled: false,
+ states: {
+ hover: {
+ enabled: false,
+ },
+ },
},
lineWidth: 2,
},
diff --git a/src/routes/pricing/+page.svelte b/src/routes/pricing/+page.svelte
index 2d73d96b..bb8b7ae3 100644
--- a/src/routes/pricing/+page.svelte
+++ b/src/routes/pricing/+page.svelte
@@ -661,7 +661,7 @@
/>
Unlimited Options DataRealtime Options Data