]> ToastFreeware Gitweb - chrisu/seepark.git/blobdiff - web/static/seepark_web.js
update c3 to 0.6.11
[chrisu/seepark.git] / web / static / seepark_web.js
index 5aaf55a5c46233871cc647fab52d5688dbd39451..da663a238b6d206000a144fac63d0da90bb99898 100644 (file)
@@ -30,6 +30,7 @@ function dayschart(element, title, days, xtickformat) {
                                        '0416a1bab9ff': 'mediumblue',
                                        '0316a2193bff': 'midnightblue'
                                },
+                               type: 'line', // default
                                /*
                                xSort: false,
                                order: function (a, b) {
@@ -55,7 +56,8 @@ function dayschart(element, title, days, xtickformat) {
                                xFormat: '%Y-%m-%d %H:%M:%S',
                                colors: {
                                        '3319578': 'red'
-                               }
+                               },
+                               type: 'spline',
                };
        };
        var chart = c3.generate({