Skip to content

scatter3d ticktext <br> #2551

Closed
Closed

Description

@Kolano

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.

Activity

  1. added
    bug
    on Apr 12, 2018
  2. etpinard commented on Apr 12, 2018

    @etpinard
    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions