diff --git a/cefi.css b/cefi.css
index c6ced94..d260f6f 100644
--- a/cefi.css
+++ b/cefi.css
@@ -1,3 +1,8 @@
+.google-form{
+ width: 100%;
+ height: 1000px;
+ max-height: 1000px; /* Or set a specific max height if needed */
+}
.refresh-link {
cursor: pointer;
diff --git a/forecast.js b/forecast.js
index 8e8c298..cd79fa4 100644
--- a/forecast.js
+++ b/forecast.js
@@ -58,60 +58,9 @@ createMomCobaltDepthBlockOptFcast(varValueFcast,'blockMOMCobaltFcast')
// setup colorbar option
createMomCobaltCbarOpt('cbarOptsFcast');
-// Initial dashboard plot
-$(function() {
- var trace = {
- x: "",
- y: "",
- type: 'scatter',
- mode: 'lines+markers',
- marker: { size: 8 },
- line: { shape: 'linear' },
- name: ""
- };
-
- var layout1 = {
- title:
- 'Create Forecast Map first
& pick point on the shaded area',
- // autosize: true,
- // width: 1000,
- // height: 400,
- xaxis: { title: 'Date' },
- yaxis: { title: 'Variable' },
- hovermode: 'closest',
- showlegend: false,
- // responsive: true
- };
-
- var layout2 = {
- title:
- 'Create Forecast Map first & draw transect (polyline) on the shaded area',
- // autosize: true,
- // width: 1000,
- // height: 400,
- xaxis: { title: 'Date' },
- yaxis: { title: 'Variable' },
- hovermode: 'closest',
- showlegend: false,
- // responsive: true
- };
-
- var layout3 = {
- title:
- 'Pick a index',
- // autosize: true,
- // width: 1000,
- // height: 400,
- xaxis: { title: 'Date' },
- yaxis: { title: 'Variable' },
- hovermode: 'closest',
- showlegend: false,
- // responsive: true
- };
- var config = {responsive: true}
- Plotly.newPlot('plotly-fcast-spread', [trace], layout1, config);
- Plotly.newPlot('plotly-fcast-box', [trace], layout1, config);
- // Plotly.newPlot('plotly-index', [trace], layout3)
+// initialize plotly
+$(document).ready(function() {
+ window.asyncInitializePlotlyResize('forecast')
});
///////////////// event listener ////////////////
@@ -202,6 +151,8 @@ $("#analysisMOMCobaltFcast").on("change", function(){
$("#"+selectedValue.slice(0, -3)).addClass("active");
})
+
+
// add event listener for the "message" event using jQuery (location click)
$(window).on("message", receiveMessageFcast);
diff --git a/forecast_mhw.html b/forecast_mhw.html
index 0085a2a..b8a8a62 100644
--- a/forecast_mhw.html
+++ b/forecast_mhw.html
@@ -161,14 +161,15 @@
The goal of the Climate Ecosystem and Fisheries Initiative (CEFI) is to provide @@ -157,4 +180,6 @@