diff --git a/web/themes/new_weather_theme/assets/js/charts/hourly-dewpoint.js b/web/themes/new_weather_theme/assets/js/charts/hourly-dewpoint.js index 0205e8343..31a54c116 100644 --- a/web/themes/new_weather_theme/assets/js/charts/hourly-dewpoint.js +++ b/web/themes/new_weather_theme/assets/js/charts/hourly-dewpoint.js @@ -26,6 +26,9 @@ for (const container of chartContainers) { legend: { display: false, }, + tooltip: { + events: ['click', 'mousemove'], + }, }, scales: { x: { diff --git a/web/themes/new_weather_theme/assets/js/charts/hourly-humidity.js b/web/themes/new_weather_theme/assets/js/charts/hourly-humidity.js index dfe4109b2..7fcd873c2 100644 --- a/web/themes/new_weather_theme/assets/js/charts/hourly-humidity.js +++ b/web/themes/new_weather_theme/assets/js/charts/hourly-humidity.js @@ -34,6 +34,7 @@ for (const container of chartContainers) { tooltip: { xAlign: "center", yAlign: "bottom", + events: ['click','mousemove'], }, }, scales: { diff --git a/web/themes/new_weather_theme/assets/js/charts/hourly-pops.js b/web/themes/new_weather_theme/assets/js/charts/hourly-pops.js index 91c32273a..34a1cf4e2 100644 --- a/web/themes/new_weather_theme/assets/js/charts/hourly-pops.js +++ b/web/themes/new_weather_theme/assets/js/charts/hourly-pops.js @@ -30,6 +30,7 @@ for (const container of chartContainers) { tooltip: { xAlign: "center", yAlign: "bottom", + events: ['click','mousemove'], }, }, scales: { diff --git a/web/themes/new_weather_theme/assets/js/charts/hourly-temperature.js b/web/themes/new_weather_theme/assets/js/charts/hourly-temperature.js index 4e15b1d2d..d749ed4f4 100644 --- a/web/themes/new_weather_theme/assets/js/charts/hourly-temperature.js +++ b/web/themes/new_weather_theme/assets/js/charts/hourly-temperature.js @@ -29,6 +29,9 @@ for (const container of chartContainers) { legend: { display: false, }, + tooltip: { + events: ['click', 'mousemove'], + }, }, scales: { x: { diff --git a/web/themes/new_weather_theme/assets/js/charts/hourly-wind.js b/web/themes/new_weather_theme/assets/js/charts/hourly-wind.js index 83bb3982f..3b390d8d3 100644 --- a/web/themes/new_weather_theme/assets/js/charts/hourly-wind.js +++ b/web/themes/new_weather_theme/assets/js/charts/hourly-wind.js @@ -119,6 +119,9 @@ for (const container of chartContainers) { legend: { display: false, }, + tooltip: { + events: ['click', 'mousemove'], + }, }, layout: { padding: { diff --git a/web/themes/new_weather_theme/new_weather_theme.libraries.yml b/web/themes/new_weather_theme/new_weather_theme.libraries.yml index daccdf115..4aab71754 100644 --- a/web/themes/new_weather_theme/new_weather_theme.libraries.yml +++ b/web/themes/new_weather_theme/new_weather_theme.libraries.yml @@ -25,7 +25,7 @@ front-page: defer: true point-page: - version: 2024-10-04 + version: 2024-10-07 js: assets/js/point.page.js: attributes: