Data Label Organization in Chart

terrib1e

New Member
Joined
Dec 28, 2017
Messages
7
I have a chart that represents 28 different series organized by dates. 3 of the series I have set up as lines, and 3 others set up as transparent areas. I have the remaining 22 set up as bars and I'm having a hard time showing the value and labels of each without them crowding each other. I've reduced the view down to a 2 week period with a scrollbar to go through the year, but it's still pretty crowded depending on the day. I have a legend set up, and I've set up check boxes to turn on and off specific series, but I was wondering if anyone had any other suggestions to better organize and clean up the label positions. I'm open to VBA or any other kind of solution.

I also have an issue with the series name label appearing even in values that have 0. I can make the value 0 disappear using 0;;; but is there a way to include the series name in that?
 

Excel Facts

How can you turn a range sideways?
Copy the range. Select a blank cell. Right-click, Paste Special, then choose Transpose.
  • It is a bit hard without seeing it. Can you post a link to the workbook or a chart picture? Does the page below help?
  • Concerning the zero issue, use this code:

Code:
Sub DL()
Dim s As Series, x, i%
Set s = ActiveChart.SeriesCollection(1)
x = s.Values
For i = LBound(x) To UBound(x)
    If x(i) = 0 Then s.DataLabels(i).Text = ""
Next
End Sub


http://datapigtechnologies.com/blog/index.php/auto-adjust-chart-label-positions/
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,183
Members
453,020
Latest member
Mohamed Magdi Tawfiq Emam

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top