diff --git a/.env b/.env
index 1b5cf68..439e3ca 100644
--- a/.env
+++ b/.env
@@ -1 +1,2 @@
-PUBLIC_URL=.
\ No newline at end of file
+PUBLIC_URL=.
+PORT=3002
\ No newline at end of file
diff --git a/.gitignore b/.gitignore
index 4d29575..d09e5c3 100644
--- a/.gitignore
+++ b/.gitignore
@@ -21,3 +21,4 @@
npm-debug.log*
yarn-debug.log*
yarn-error.log*
+.vscode/launch.json
diff --git a/package.json b/package.json
index b76bbc0..e239399 100644
--- a/package.json
+++ b/package.json
@@ -39,12 +39,12 @@
"web-vitals": "^2.1.2"
},
"scripts": {
- "start": "PORT=3002 react-scripts start",
+ "start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject",
- "format": "prettier --write --config ./prettierrc.json 'src/**/*.{ts,tsx}'",
- "format-check": "prettier --check --config ./prettierrc.json 'src/**/*.{ts,tsx}'"
+ "format": "prettier --write --config ./prettierrc.json src/**/*.{ts,tsx}",
+ "format-check": "prettier --check --config ./prettierrc.json src/**/*.{ts,tsx}"
},
"eslintConfig": {
"extends": [
diff --git a/src/vis/Vis.tsx b/src/vis/Vis.tsx
index a6e29e6..921655c 100644
--- a/src/vis/Vis.tsx
+++ b/src/vis/Vis.tsx
@@ -14,6 +14,7 @@ import IconButton from '@mui/material/IconButton';
import Container from '@mui/material/Container';
import MenuIcon from '@mui/icons-material/Menu';
import ChevronLeftIcon from '@mui/icons-material/ChevronLeft';
+import Visibility from '@mui/icons-material/Visibility';
import { homeListItems } from '../ListItems';
import MapSelectionRadio, { MapType } from './MapSelectionRadio';
import DisplaySelection from './DisplaySelection';
@@ -25,6 +26,7 @@ import LineChart from './LineChart';
import axios from 'axios';
import { API_URL } from '../utils/config';
import { UNITS, MAP_TYPE_CONVERT } from './MeasurementMap';
+import { solveDisplayOptions } from './DisplaySelection';
// import { setOptions } from 'leaflet';
@@ -317,7 +319,9 @@ export default function Vis() {
+
+ {
+ setDisplayOptions(
+ solveDisplayOptions(displayOptions, 'displayGraph', true),
+ );
+ }}
+ >
+
+
+
+