Commit 36bf84c1 authored by Zixian Cai's avatar Zixian Cai

Allow scroll to zoom

parent 46d797a8
......@@ -35,6 +35,6 @@
trace["name"] = "{{ keyname }}";
data.push(trace);
{% endfor %}
Plotly.newPlot('linePlot', data);
Plotly.newPlot('linePlot', data, {}, {scrollZoom: true});
{{ responsive_footer() }}
</script>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment