Manually setting x and y axes in plotly.js

Viewed 4602

Like the code given below, Can we set X and Y axes manually for date and time respectively in plotly.js??

var layout = {
  xaxis: {range: [2, 5]},
  yaxis: {range: [2, 5]}
};

var layout = {
  xaxis: {range: ["2017-04-04", "2017-08-06"]},
  yaxis: {range: ["9:00:00", "24:00:00"]}
};
1 Answers
Related