in assets/android-metrics.js [34:49]
function setHistory(history) {
// Find max number of days.
const latestDate = new Date(window.data.at(-1).date);
const furthestDate = new Date(window.data.at(0).date);
const maxDays = (latestDate - furthestDate) / (1000 * 60 * 60 * 24);
if (history > maxDays) {
history = Math.round(maxDays);
}
window.historyStatus = history;
const input = document.getElementById('history-select');
input.value = history;
displayCharts();
}