From b6a500cd6b05736551cc72db0f2e9160f072f06b Mon Sep 17 00:00:00 2001
From: mbucknel <mbucknell@usgs.gov>
Date: Thu, 7 Jul 2022 13:12:06 -0500
Subject: [PATCH] A little more explanation.

---
 .../monitoring-location/components/hydrograph/index.js       | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/assets/src/scripts/monitoring-location/components/hydrograph/index.js b/assets/src/scripts/monitoring-location/components/hydrograph/index.js
index ac8bf3754..c5a4945c1 100644
--- a/assets/src/scripts/monitoring-location/components/hydrograph/index.js
+++ b/assets/src/scripts/monitoring-location/components/hydrograph/index.js
@@ -143,10 +143,13 @@ export const attachToNode = function(store,
     showDataIndicators(true, store);
     if (!showOnlyGraph) {
         initializeTooltipCursorSlider(graphContainer, store);
-        graphContainer.append('div').attr('id', 'hydrograph-brush-container');
         //TODO: The tooltips, legend and  the main hydrograph can be added to the HydrographApp.
         // The main hydrograph should be converted to a Vue component last. As part of that task we
         // will figure out how to handle the loading indicator and the no data overlay
+        // The addition of the hydrograph-brush-container is merely to create the brush in the correct location
+        // This will change as we add things and eventually we won't need to do this.
+        graphContainer.append('div').attr('id', 'hydrograph-brush-container');
+
         const hydrographApp = createApp(HydrographApp, {});
         hydrographApp.use(ReduxConnectVue, {
             store,
-- 
GitLab