Message Boards Message Boards

0
|
4718 Views
|
1 Reply
|
0 Total Likes
View groups...
Share
Share this post:

Draw multiple bar chart labels?

Posted 5 years ago

I am drawing a Bar Chart using this code:

outlabels={"Label1(1-10)", "Label1(11-20)", "Label1(21-30)"};chartouttable={{1, 1, 1}, {2, 3, 2}, {1, 1, 1}};BarChart3D[chartouttable, ChartLayout -> "Grid", 
 ChartLabels -> Placed[outlabels, Center]]

And I get: enter image description here

  1. The problem is that each label is on there three times. I know that I can put them on the Axis to only show them once but I want them on the side of the first series and vertical if possible and only once. Is there a way to do this?
  2. Also, I would like to add labels to the series axis but can't figure how to. How can that be done?
POSTED BY: Jamie Dixson
Posted 5 years ago

A little closer to what you want.

BarChart3D[chartouttable, ChartLayout -> "Grid", 
 ChartLabels -> {Table[Style[x, 12, Bold, Blue], {x, 1, 3}], 
   Style[#, 12, Bold, Blue] & /@ outlabels}, ViewPoint -> {3, -10, 7}]

enter image description here

POSTED BY: Rohit Namjoshi
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract