Mercurial > gemma
comparison client/docs/developers.md @ 4334:8ac59c8183e8
client: add showNumbers to AvailableFairwayDepth diagram
* Add bootstrap button to the diagram legend. Below the the other
options because of its lesser importance.
* Change calculation of days from hours to use one precision after
the decimal point to show that we are coming from summed hours.
This shall lead to clarification what users expect, see code comment.
* Draw the numbers close to the bars: Above for LDC and highestLevel,
below for the "lowerLevels".
* Enchance test data in docs/developers.md to cover more interesting cases.
author | Bernhard Reiter <bernhard@intevation.de> |
---|---|
date | Thu, 05 Sep 2019 14:50:05 +0200 |
parents | 83eb99662a91 |
children | dc5a10542e16 |
comparison
equal
deleted
inserted
replaced
4333:3f0422751cb4 | 4334:8ac59c8183e8 |
---|---|
18 | 18 |
19 ```javascript | 19 ```javascript |
20 data = store.state.fairwayavailability.csv | 20 data = store.state.fairwayavailability.csv |
21 | 21 |
22 data=`#time,# < LDC (164.0) [h],# >= LDC (164.0) [h],# < 230.0 [h],# >= 230.0 [h],# >= 250.0 [h] | 22 data=`#time,# < LDC (164.0) [h],# >= LDC (164.0) [h],# < 230.0 [h],# >= 230.0 [h],# >= 250.0 [h] |
23 05-2019,140,80,80,45,50 | 23 01-2019,0 ,744, 0, 0,744 |
24 06-2019,0,230.000,0.000,0.000 | 24 02-2019,324,324,150,174,324 |
25 07-2019,0,300,0.000,0.000,0.000 | 25 03-2019, 24,696, 80, 45, 50 |
26 08-2019,0.000,120.000,0.000,0.000,120.000 | 26 04-2019,120,600, 24, 24,672.5 |
27 05-2019,140,80 , 80, 45, 50 | |
28 06-2019, 0, 0, 0, 0, 0.000 | |
29 07-2019, 0,300, 0, 0, 0 | |
30 08-2019, 0, 0,744, 0, 0 | |
31 09-2019, 0,720, 0, 96,624 | |
27 ` | 32 ` |
28 | 33 |
29 store.commit("fairwayavailability/setAvailableFairwayDepthData", data) | 34 store.commit("fairwayavailability/setAvailableFairwayDepthData", data) |
30 ``` | 35 ``` |
31 | 36 |