plotly.js
plotly.js copied to clipboard
Allow dot tick markers on the axes type: feature
For example:
@ricazhang interesting, not a style I've ever seen before, what's the motivation for it?
We would happily accept a pull request adding this feature.
@ricazhang here's a hacky way to get the effect you want, using unicode symbols. As tick marks are supposed to guide the eye along a line to data points, and circles subvert that goal, I might be inclined to leave it at this hack.
Plotly.newPlot(gd, [{x:[2010, 2013, 2016, 2019], y: [0, 5, 2, 7]}], {
xaxis: {tickprefix: '\u25cf<br>', color: '#888'},
yaxis: {ticksuffix: ' \u25cf', color: '#888'},
width: 600, height: 400
})

Awesome, thanks for the suggestion!