diff --git a/bijoe/static/css/bijoe.css b/bijoe/static/css/bijoe.css index f340358..d0fc9dd 100644 --- a/bijoe/static/css/bijoe.css +++ b/bijoe/static/css/bijoe.css @@ -126,16 +126,6 @@ select { padding-bottom: 3px; } -/* chart representation */ - -.bijoe-png-button { - /* move PNG button slightly inside the chart frame */ - float: right; - bottom: -3em; - left: -2em; - position: relative; -} - /* misc */ canvas { box-sizing: border-box; diff --git a/bijoe/templates/bijoe/cube_chart.html b/bijoe/templates/bijoe/cube_chart.html index 6b24eda..2a8d9c5 100644 --- a/bijoe/templates/bijoe/cube_chart.html +++ b/bijoe/templates/bijoe/cube_chart.html @@ -2,7 +2,6 @@ {% for table in visualization %}

{{ table.table_title }}

- PNG
@@ -15,10 +14,6 @@ draw_piechart(canvas, drilldown, [measure], measure.name, data); } else { draw_barchart(canvas, drilldown, [measure], measure.name, data); - /* Allow getting a PNG without using 'Save image as' */ - $(".bijoe-png-button").on('click', function() { - this.href = toDataURL($(this).next().find("canvas")[0], "graph.png"); - }) } }, 500 * {{ forloop.counter }}); });