https://schagerer.com/sim/?id=1101
var updatemenus=[
{
buttons: [
{
args: [
{
'zaxis.type': 'linear'
}
],
label: 'Linear',
method: 'relayout'
},
{
args: [
{
'zaxis.type': 'log'
}
],
label:'Log',
method:'relayout'
}
],
direction: 'down',
//pad: {'r': 10, 't': 10},
showactive: true,
type: 'dropdown'
//x: 0.1,
//xanchor: 'left',
//y: 1.1,
//yanchor: 'top'
}
]
throws
min_1584.js:61 Uncaught TypeError: Cannot read property ‘type’ of undefined
Please Help