I am building a plotly surface that follows their online example here. I haven't been able to find an example of a 3D surface with custom axis labels like they have here. I tried putting an xaxis object with a title on the layout object then passing it as the third parameter to the Plotly.newPlot() command, but nothing rendered.
Does anyone know an example of this working or know where I can dig into or if it's even possible?
var layout = {
title: 'Surface Plot',
xaxis: {
title: 'This is a test'
}
};
Plotly.newPlot('someDiv', data, layout);