Pivot Chart Color Theme Customization Possible?

KDavidP1987

Board Regular
Joined
Mar 6, 2018
Messages
51
Hey All,

Just a quick question I cannot find an article or answer to.

I have a table of data represented in pivot tables/charts. It covers several call center metrics in a line graph format (Calls Offered, Calls Answered, Calls Abandoned). I want to set a monochromatic color scheme / year for the data, so that they the graphs don't look like a ClusterF. Unfortunately, when I apply color schemes it will only apply it to the whole graph. Is there a way to specify Pivot Table color scheme per series of data (what appears in the Columns section [Year, and Values]), so that each year gets its own monochromatic color scheme.

As we are moving into 2019 my boss asked that I overlay the 2019 metrics with previous years data so that management can compare. Unfortunately, since the graphs show multiple metrics it just makes them look horrible in the overlay.

Sincerely,

Kris
 

Worf

Well-known Member
Joined
Oct 30, 2011
Messages
3,802
Hey Kris

Each series can be formatted individually:

Code:
Sub FormatSeries()
Dim s As Series, i%, sn$
sn = ""
ActiveSheet.ChartObjects("Chart1").Activate
For i = 1 To ActiveChart.SeriesCollection.Count
    Set s = ActiveChart.FullSeriesCollection(i)
    sn = sn & s.Name & vbLf
    With s.Format.Line
        .Visible = msoTrue
        .ForeColor.ObjectThemeColor = i + 4
        .ForeColor.TintAndShade = 0
        .ForeColor.Brightness = 0.6
        .Transparency = 0.1
    End With
Next
MsgBox sn, 64, "Formatted series"
End Sub
 

Forum statistics

Threads
1,082,132
Messages
5,363,340
Members
400,727
Latest member
Raynman

Some videos you may like

This Week's Hot Topics

  • populate from drop list with multiple tables
    Hi All, i have a drop list that displays data, what i want is when i select one of those from the list to populate text from different tables on...
  • Find list of words from sheet2 in sheet1 before a comma and extract text vba
    Hi Friends, Trying to find the solution on my task. But did not find suitable one to the need. Here is my query and sample file with details...
  • Dynamic Formula entry - VBA code sought
    Hello, really hope one of you experts can help with this - i've spent hours on this and getting no-where. .I have a set of data (more rows than...
  • Listbox Header
    Have a named range called "AccidentsHeader" Within my code I have: [CODE]Private Sub CommandButton1_Click() ListBox1.RowSource =...
  • Complex Heat Map using conditional formatting
    Good day excel world. I have a concern. Below link have a list of countries that carries each country unique data. [URL...
  • Conditional formatting
    Hi good morning, hope you can help me please, I have cells P4:P54 and if this cell is equal to 1 then i want row O to say "Fully Utilised" and to...
Top