-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Closed
Description
Hi all,
I've got a brief question, I was not able to figure out so far.
that.layout = {
title: 'Surface',
autosize: true,
scene: {
xaxis: {
tickmode: 'array',
nticks: 10,
title: "s",
ticktext: result.map(s=> (s* 100)),
tickvals: new Array(result.length).fill(1).map((_, i) => i + 1)
},
yaxis: {
tickmode: 'array',
nticks: 10,
title: "m",
ticktext: result2,
tickvals: new Array(result2.length).fill(1).map((_, i) => i + 1)
},
zaxis: {
title: "val"
}
}
};
},
Is there any way, to paint only every n-th tick to the Axis? As is still have to make use of the hover information, simply having empty "tick texts" is not a solution (as the hovers value are emptied as well).
I already tried nticks and tick density, but none of them had any effect to the plotted chart.
Thanks in advance for your help,
Stefan
Metadata
Metadata
Assignees
Labels
No labels