![]() |
Pie Chart formatting
I have a problem with pie chart formatting. I have programmed a tool
that creates pie chart according a set of data that can change according the source I use (= #data can be different). So, every time I run it the labels are placed anywhere in an ugly way. How can I control their position? thanks Orcutt --- Message posted from http://www.ExcelForum.com/ |
Pie Chart formatting
Orcutt -
You can impose a position for these labels: ActiveChart.SeriesCollection(1).DataLabels.Positio n = x where for a pie chart, x is one of the following: xlLabelPositionCenter xlLabelPositionInsideEnd xlLabelPositionOutsideEnd xlLabelPositionBestFit BestFit is the default, but I understand why you dislike it. I would try Center or InsideEnd if the labels aren't too long. - Jon ------- Jon Peltier, Microsoft Excel MVP http://www.geocities.com/jonpeltier/Excel/index.html _______ orcutt wrote: I have a problem with pie chart formatting. I have programmed a tool that creates pie chart according a set of data that can change according the source I use (= #data can be different). So, every time I run it the labels are placed anywhere in an ugly way. How can I control their position? thanks Orcutt --- Message posted from http://www.ExcelForum.com/ |
All times are GMT +1. The time now is 11:37 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com