Skip to content

scatter3d ticktext <br> #2551

New issue

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

Closed
Kolano opened this issue Apr 12, 2018 · 1 comment
Closed

scatter3d ticktext <br> #2551

Kolano opened this issue Apr 12, 2018 · 1 comment
Labels
bug something broken

Comments

@Kolano
Copy link

Kolano commented Apr 12, 2018

The <br> HTML tag is not honored in scatter3d ticktext. They seem to be rendered as spaces?

scene:{
	yaxis: {
		range: [0, 65536],
		tickmode: "array",
		ticktext: ["000<br>0000","064<br>4444","128<br>8888","192<br>BBBB","255<br>FFFF"],
		tickvals: [0, Math.pow(64,2), Math.pow(128,2), Math.pow(192,2), Math.pow(256,2)],
		title: "Interface"
	}			
}

I tried to provide an example in CodePen...
https://codepen.io/Kolano/pen/dmLBJK
...but it seems to fail to render tickmode:"array" text at all for some reason.

@etpinard etpinard added the bug something broken label Apr 12, 2018
@etpinard
Copy link
Contributor

Your codepen had tickvalues instead of the correct tickvals: https://codepen.io/etpinard/pen/pLBXBN?editors=0010

But <br> unsupported on 3D axes. Related: #1165 and #608

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug something broken
Projects
None yet
Development

No branches or pull requests

3 participants