Feedfedfat
Feedfedfat

Reputation: 193

In Highcharts, for a 3D chart, are we able to set up labels of the z-axis?

What I am looking for is something like this:
enter image description here

In Highcharts, column type doesn't offer a z-axis at all:
https://jsfiddle.net/scottszb1987/334gruzf/

And scatter type does have a z-axis, but you cannot change the labels by adding categories https://jsfiddle.net/scottszb1987/kxafwcas/

So, i'm wondering, first, are we able to enable z-axis labels to a 3D column chart, second, are we able to modify z-axis labels to strings in 3D scatter chart?

Upvotes: 0

Views: 493

Answers (1)

Grzegorz Blachliński
Grzegorz Blachliński

Reputation: 5222

I think that it is possible to have zAxis with categories in column chart. I have made an example showing how you can make this axis:

zAxis: {
  min: 0,
  max: 1,
  categories: ['one', 'two'],
},

Here you can find live example of making zAxis with categories in column chart: https://jsfiddle.net/169u3awk/1/

Regards,

Upvotes: 1

Related Questions