Plotly.js: Axis layout settings are ignored when using scatter3d

Created on 19 Jun 2016  路  3Comments  路  Source: plotly/plotly.js

When using a scatter3d type, it seems that the xaxis, yaxis and zaxis layout options are all ignored.

This is a file using scatter3d
This is the same file, but using scatter

As you can see, the 2d scatter takes the axis settings into account, but the 3d scatter doesn't.

Most helpful comment

To use those options with scatter3d charts you can wrap them in the scene object.
Here's your codepen example edited: http://codepen.io/plotly/pen/qNapRJ
Here's the scene reference: https://plot.ly/javascript/reference/#layout-scene

(We'll add some additional examples to: https://plot.ly/javascript/#layout-options)

All 3 comments

To use those options with scatter3d charts you can wrap them in the scene object.
Here's your codepen example edited: http://codepen.io/plotly/pen/qNapRJ
Here's the scene reference: https://plot.ly/javascript/reference/#layout-scene

(We'll add some additional examples to: https://plot.ly/javascript/#layout-options)

Oh, that's perfect - thank you!

No problem. That point is not currently exhibited clearly in our js docs (https://github.com/plotly/documentation/issues/439), thanks for pointing that out!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

WG- picture WG-  路  3Comments

jonmmease picture jonmmease  路  3Comments

mithi picture mithi  路  3Comments

pynklu picture pynklu  路  3Comments

tim-sauchuk picture tim-sauchuk  路  3Comments