We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
markers and text disappear when you use cliponaxis: false with a date axis:
cliponaxis: false
var x = []; var y = []; for(var i = 1; i < 8; i++) { x.push('2017-11-' + i); y.push(Math.floor(Math.random() * 10000)); } Plotly.newPlot(gd, [{ x: x, y: y, type: 'scatter', text: y, fill: 'tonexty', mode: 'lines+markers+text', textposition: 'top', cliponaxis: false }], {width: 400, height: 400} );
also fails with log axes, but works fine if the x axis is either linear or category:
var x = []; var y = []; for(var i = 1; i < 8; i++) { x.push(String.fromCharCode(i+64)); y.push(Math.floor(Math.random() * 10000)); } Plotly.newPlot(gd, [{ x: x, y: y, type: 'scatter', text: y, fill: 'tonexty', mode: 'lines+markers+text', textposition: 'top', cliponaxis: false }], {width: 400, height: 400} );
discovered while investigating #2000
The text was updated successfully, but these errors were encountered:
Oh well, this is dumb. My mistake. Adding d2r() should do the trick.
d2r()
Sorry, something went wrong.
Adding d2r() should do the trick.
Will probably have to be d2c for x/y and r2c for range (can we trust ax._rl to exist?) but yeah. And calendars 🙄
d2c
x/y
r2c
range
ax._rl
etpinard
No branches or pull requests
markers and text disappear when you use
cliponaxis: false
with a date axis:also fails with log axes, but works fine if the x axis is either linear or category:
discovered while investigating #2000
The text was updated successfully, but these errors were encountered: