add title to chart
authorgregor herrmann <gregor@toastfreeware.priv.at>
Wed, 30 May 2018 22:58:41 +0000 (00:58 +0200)
committergregor herrmann <gregor@toastfreeware.priv.at>
Wed, 30 May 2018 22:58:41 +0000 (00:58 +0200)
web/static/seepark_web.js

index 4aa30f90cc15b687829cadf8cb013b86f09d0ec2..504520f072187ae0bf9d49a788cb3fcf054d65bb 100644 (file)
@@ -1,5 +1,8 @@
 var chart = c3.generate({
        bindto: '#chart',
+       title: {
+               text: 'Seepark'
+       },
        data: {
                url: '/data',
                mimeType: 'json',