BookmarkSubscribeRSS Feed
MrE
SAS Employee MrE
SAS Employee
I created Pie graph in WRS. I use 'balance_amt' for Bar Height, 'Customer Class' for Bars and 'month' for Horizontal Matrix.

Each pie does not have the same size. I have set fixed size at graph properties but it still does not work.

Could you please suggest how to do.

Thanks.
3 REPLIES 3
julierd
SAS Employee
It sound like you are saying that each graph in a series is not the same size; correct? This is an interesting problem that I haven't seen before. I'm unclear from your message if you are creating a series of pie charts or a series of bar charts. Can you clarify?
MrE
SAS Employee MrE
SAS Employee
Correct. I found that each pie graph in a series is not the same size !
and sorry for my mistake, I use 'balance_amt' for Segment Size, 'Customer Class' for Segment and 'month' for Horizontal Matrix.
In addition, I use WRS 3.1.

How can i solve it. Please suggest. Thanks
julierd
SAS Employee
This is what I learned:

The Fixed Size in the graph properties only specifies what the size of the entire graph object on screen will occupy in pixels. It has no bearings on the individual size of pies in a graph matrix (when multiple pies are being shown).

The only way that the pies can be made the same size in a graph matrix when a series is supplied is if you turn OFF data value labels on the pie through the property dialog. If they are left ON then the pies in each cell of the graph matrix will scale differently depending on how many or where the data value labels are placed inside each cell.

Will it meet your needs to turn off the data value labels? Perhaps we can consider including a property for keeping the pies the same size even when the data value labels are displayed.

I hope this helps.

sas-innovate-wordmark-2025-midnight.png

Register Today!

Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9. Sign up by March 14 for just $795.


Register now!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 3 replies
  • 1375 views
  • 0 likes
  • 2 in conversation