Question

I've got a pivot chart which spans several years on the X axis, with data for each day. The problem is that there's a label on the X axis for each day, so they are too cluttered to be readable. I'd like to show just the months as labels instead of the days, and still see data points per day, but here's what I found so far:

  • Doing this is trivial in a normal chart, by going to the axis format settings, on the "Scale" tab, and setting the major unit to "Month(s)". This field does not exist in the same tab for a pivot chart.
  • I can set "Number of categories between tick-mark labels" on the pivot chart, but of course they don't line up with the months.
  • I can set the pivot table to use the month instead of the day, but then a lot of resolution is lost.
  • Setting Charts(1).Axes(xlCategory).MajorUnitScale = xlMonths doesn't seem to do anything.
Was it helpful?

Solution

You can group the X axis by more than one value, such as by Days and Months. Unfortunately it doesn't eliminate the clutter of the labels for each day, but it does superimpose the Month on the axis.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top