We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9dd3d90 commit c30baa2Copy full SHA for c30baa2
src/lib/getAllAxes.js
@@ -44,6 +44,12 @@ export default function getAllAxes(fullLayout) {
44
}
45
46
export function traceTypeToAxisType(traceType, subplot = false) {
47
+ // plotly.js actually allows traces with no type and just
48
+ // defaults them to scatter, so do this here as well.
49
+ if (!traceType) {
50
+ traceType = 'scatter'; // eslint-disable-line
51
+ }
52
+
53
let category = null;
54
const traceToAxis = TRACE_TO_AXIS;
55
if (subplot) {
0 commit comments