Commit 0d2fb490 authored by Lukas Burgey's avatar Lukas Burgey

Change margins of scatter plot

parent e2486680
......@@ -30,19 +30,24 @@ function scatterChart(chartID, dataSets) {
var layout = {
showlegend: false,
margin: {
l: 50,
r: 10,
b: 50,
l: 40,
r: 15,
b: 25,
t: 10,
pad: 4
pad: 4,
autoexpand: false
}
};
Plotly.plot(chartID, dataSets, layout);
var options = {
displaylogo: false,
displaymodebar: true
};
Plotly.plot(chartID, dataSets, layout, options);
};
$(function() {
var isMobile = window.matchMedia("only screen and (max-width: 760px)");
var isMobile = window.matchMedia("only screen and (max-width: 768px)");
if (isMobile.matches) {
$(".dropdown-toggle").removeAttr("href");
$(".dropdown-menu").parent().addClass("dropup");
......
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