255, 255, 255, 0.1)",
            },
            ticks: {
              color: "white",
              maxRotation: 45,
              minRotation: 45,
            },
          },
        },
      };
      function interpolateData(data, intervalMinutes = 15) {
        // Create an array of timestamps at the specified interval for the last 48 hours
        const now = new Date();
        const startTime = new Date(now.getTime() - 48 * 60 * 60 * 1000);
        const intervalMillis = intervalMinutes * 60 * 1000;