diff client/src/fairway/Fairwayprofile.vue @ 593:c4a4dc612191

feat: Toggleable fairway profile A prototypical fairway profile could be made visible
author Thomas Junk <thomas.junk@intevation.de>
date Fri, 07 Sep 2018 13:45:49 +0200
parents ef307bd6b5d8
children 4450f2ab41e0
line wrap: on
line diff
--- a/client/src/fairway/Fairwayprofile.vue	Fri Sep 07 12:30:20 2018 +0200
+++ b/client/src/fairway/Fairwayprofile.vue	Fri Sep 07 13:45:49 2018 +0200
@@ -22,7 +22,8 @@
 const GROUND_COLOR = "#4A2F06";
 
 const sampleData = [
-  { x: 0, y: -3.0 },
+  { x: 0, y: 1.0 },
+  { x: 10, y: 1.0 },
   { x: 25, y: -2.0 },
   { x: 50, y: -4.5 },
   { x: 75, y: -4.0 },
@@ -33,7 +34,8 @@
   { x: 200, y: -3.0 },
   { x: 225, y: -3.5 },
   { x: 250, y: -3.0 },
-  { x: 300, y: -2.5 }
+  { x: 290, y: 1 },
+  { x: 300, y: 1 }
 ];
 
 export default {