ToastFreeware
/
chrisu
/
seepark.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
563a4ce
)
Use user-friendly names for labels.
author
Philipp Spitzer
<philipp@spitzer.priv.at>
Wed, 30 May 2018 21:42:53 +0000
(23:42 +0200)
committer
Philipp Spitzer
<philipp@spitzer.priv.at>
Wed, 30 May 2018 21:42:53 +0000
(23:42 +0200)
web/static/seepark_web.js
patch
|
blob
|
history
diff --git
a/web/static/seepark_web.js
b/web/static/seepark_web.js
index 0c8d851e6266ba459c29e2c503e00e95ff28478a..d466e315c15d4d8de8f1320297b75d5ccfcc4fa9 100644
(file)
--- a/
web/static/seepark_web.js
+++ b/
web/static/seepark_web.js
@@
-6,6
+6,10
@@
var chart = c3.generate({
xs: {
'water_temperature': 'water_temperature_x',
'air_temperature': 'air_temperature_x'
+ },
+ names: {
+ 'water_temperature': 'Wassertemperatur',
+ 'air_temperature': 'Lufttemperatur'
}
},
axis: {