Here is how it looks:
Here is my configuration:
var Predicted= {
type: “scatter”,
mode: “lines”,
name: ‘Predicted’,
xaxis; ‘x’,
yaxis: ‘y3’,
x: unpackData(data[0].Values, ‘x’),
y: unpackData(data[0].Values, ‘y’),
};
var Actual= {
type: “scatter”,
mode: “lines”,
name: ‘Actual’,
x: unpackData(data[1].Values, ‘x’),
y: unpackData(data[1].Values, ‘y’),
};
var layout = {
xaxis: {
type: ‘date’,
title: ‘Time’,
domain: [0, 1.0]
},
yaxis: {
title: ‘Values’,
domain: [0, 0.5]
},
yaxis3: { domain: [0.55, 1] },
autoresize: true,
showlegend: true,
legend: { “orientation”: “h” },
margin: {
l: 60,
r: 5,
b: 0,
t: 50
},
title: data[0].Values[0].name,
};
How can I move x axis down?