diff --git a/templates/chart-publish.twig b/templates/chart-publish.twig
index 6cde3c3ea3..e70c29ea95 100644
--- a/templates/chart-publish.twig
+++ b/templates/chart-publish.twig
@@ -3,6 +3,9 @@
{{ parent() }}
+
+
+
diff --git a/templates/chart.twig b/templates/chart.twig
index b3b6ab8def..0fc6e0d823 100644
--- a/templates/chart.twig
+++ b/templates/chart.twig
@@ -14,6 +14,9 @@ body {
+
+
+
{% for src in stylesheets %}
{% endfor %}
diff --git a/www/static/vendor/innersvg/innersvg.js b/www/static/vendor/innersvg/innersvg.js
new file mode 100644
index 0000000000..7ae0ad1246
--- /dev/null
+++ b/www/static/vendor/innersvg/innersvg.js
@@ -0,0 +1,26 @@
+Object.defineProperty(SVGElement.prototype, 'innerSVG', {
+ get: function() {
+ var $node, $temp;
+ $temp = document.createElement('div');
+ $node = this.cloneNode(true);
+ $temp.appendChild($node);
+ return $temp.innerHTML;
+ },
+ set: function(markup) {
+ var $element, $temp, _i, _len, _ref, _results;
+ $temp = document.createElement('div');
+ $temp.innerHTML = markup;
+ while (this.firstChild) {
+ this.firstChild.parentNode.removeChild(this.firstChild);
+ }
+ _ref = $temp.children;
+ _results = [];
+ for (_i = 0, _len = _ref.length; _i < _len; _i++) {
+ $element = _ref[_i];
+ _results.push(this.appendChild($element));
+ }
+ return _results;
+ },
+ enumerable: false,
+ configurable: true
+});
\ No newline at end of file