diff options
author | Zane C. Bowers-Hadley <vvelox@vvelox.net> | 2019-01-22 12:21:19 +0300 |
---|---|---|
committer | Zane C. Bowers-Hadley <vvelox@vvelox.net> | 2019-01-22 12:21:19 +0300 |
commit | ca2903a6b982db4af851fc88093267cf45a9d21e (patch) | |
tree | ed4b25d7e0960987c749c228ad3924b6649e00b3 | |
parent | 18b37e990d6c91979fa940586af7d003287dc536 (diff) |
add complex chart generation
-rw-r--r-- | layouts/shortcodes/chart-complex-start.html | 3 | ||||
-rw-r--r-- | layouts/shortcodes/chart-complex-stop.html | 2 |
2 files changed, 5 insertions, 0 deletions
diff --git a/layouts/shortcodes/chart-complex-start.html b/layouts/shortcodes/chart-complex-start.html new file mode 100644 index 0000000..e38793d --- /dev/null +++ b/layouts/shortcodes/chart-complex-start.html @@ -0,0 +1,3 @@ +<script> +var chart = c3.generate({ + bindto: '#{{ .Get "chart" }}', diff --git a/layouts/shortcodes/chart-complex-stop.html b/layouts/shortcodes/chart-complex-stop.html new file mode 100644 index 0000000..5b1a705 --- /dev/null +++ b/layouts/shortcodes/chart-complex-stop.html @@ -0,0 +1,2 @@ +}); +</script> |