Mercurial > gemma
changeset 4363:d6439e7c8b1c
client, docs: adjust example for testing diagram
* Change example to use days from the backend for AvailableFairwayDepth
diagram.
author | Bernhard Reiter <bernhard@intevation.de> |
---|---|
date | Mon, 09 Sep 2019 17:26:59 +0200 |
parents | 89d2d9309a38 |
children | 496bbf0f618c |
files | client/docs/developers.md |
diffstat | 1 files changed, 11 insertions(+), 12 deletions(-) [+] |
line wrap: on
line diff
--- a/client/docs/developers.md Mon Sep 09 17:25:28 2019 +0200 +++ b/client/docs/developers.md Mon Sep 09 17:26:59 2019 +0200 @@ -36,16 +36,16 @@ ```javascript data = store.state.fairwayavailability.csv // see current data -data=`#time,# < LDC (164.0) [h],# >= LDC (164.0) [h],# < 230.0 [h],# >= 230.0 [h],# >= 250.0 [h] -01-2019,0 ,744, 0, 0,744 -02-2019,324,324,150,174,324 -03-2019, 24,696, 80, 45, 50 -04-2019,120,600, 24, 24,672.5 -05-2019,140,80 , 80, 45, 50 -06-2019, 0, 0, 0, 0, 0.000 -07-2019, 0,300, 0, 0, 0 -08-2019, 0, 0,744, 0, 0 -09-2019, 0,720, 0, 96,624 +data=`#time,# < LDC (164.0) [d],# >= LDC (164.0) [d],# < 230.0 [d],# >= 230.0 [d],# >= 250.0 [d] +01-2019, 0,31, 0, 0,31 +02-2019,14,14, 6, 8,14 +03-2019, 1,30, 3, 2, 2 +04-2019, 5,25, 1, 1,28 +05-2019, 6,25, 3, 2, 3 +06-2019, 0, 0, 0, 0, 0 +07-2019, 0,16, 0, 0, 0 +08-2019, 0, 0,31, 0, 0 +09-2019, 0, 9, 0, 3, 9 ` store.commit("fairwayavailability/setAvailableFairwayDepthData", data) @@ -55,8 +55,7 @@ ```javascript data = store.state.fairwayavailability.csv // see current data -data=` -#time,# < LDC (162.0) [h],# >= LDC (162.0) [h],#d < 230.0 [%],#d >= 230.0 [%],#d >= 250.0 [%] +data=`#time,# < LDC (162.0) [h],# >= LDC (162.0) [h],#d < 230.0 [%],#d >= 230.0 [%],#d >= 250.0 [%] 09-2018,100, 0,100 , 0, 0 10-2018,100, 0, 80 , 20, 0 11-2018,100, 0, 0 , 100, 0