1 var chart = c3.generate({
10 url: '/data/', // redirects to /data/1
13 '0316a2193bff': '0316a2193bff_x',
14 '0316a21383ff': '0316a21383ff_x'
17 '0316a2193bff': 'Wassertemperatur in 4 m Tiefe',
18 '0316a21383ff': 'Wassertemperatur in 5 m Tiefe'
20 xFormat: '%Y-%m-%d %H:%M:%S'
26 format: '%Y-%m-%d %H:%M',
28 multiline: true, // broken? so →
34 text: 'Temperatur in °C',
35 position: 'outer-middle'
38 format: function (d) {
49 name: function (name, ratio, id, index) {
51 var res = re.exec(name);
54 value: function (value, ratio, id, index) {
65 {axis: 'y', start: -999, end: 0, class: 'region-frozen'},
66 {axis: 'y', start: 0, end: 25, class: 'region-ok'},
67 {axis: 'y', start: 25, end: 100, class: 'region-warm'},
68 {axis: 'y', start: 100, end: 999, class: 'region-boiling'}