+ Reply to Thread
Results 1 to 14 of 14

Multiple Shading within a Scatter Chart

  1. #1
    Registered User
    Join Date
    01-16-2013
    Location
    Pittsburgh, PA
    MS-Off Ver
    Excel 2010
    Posts
    10

    Multiple Shading within a Scatter Chart

    I'm working on a criteria matrix in Excel 2010 that automatically plots a single member in a Scatter Chart based on the two values. There are 4 suppliers listed in Column D starting in cell D4 thru D7. The "x" value is listed in Column E starting in cell E4 thru E7. The "y" value is listed in Column F starting in cell F4 thru F7.

    The scatter chart will plot the points correctly, however, there are two issues:
    1) If I try to insert a data label using the "Series Name," or in this case, the supplier's name, it will lists ALL of the suppliers Column D. It will not list the single supplier listed in cell D4.
    2) The scatter chart appears with gridlines as a 4x4 matrix with a total of 16 cells. The "x" and "y" axis both start at 0 and go to 4. I can shade the entire chart one color. However, I want to shade some of the cells with darker and lighter shades.

    Any thoughts on the two items listed above?
    Attached Files Attached Files

  2. #2
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,436

    Re: Multiple Shading within a Scatter Chart

    The shading can be done by adding additional data series plotted as stacked columns.

    The display of vendor name on data label can be done by linking the data label to a cell. This free addin will help with that.
    http://www.appspro.com/Utilities/ChartLabeler.htm

    Or using a series for each data point, then you can use the Series Name
    Cheers
    Andy
    www.andypope.info

  3. #3
    Registered User
    Join Date
    01-16-2013
    Location
    Pittsburgh, PA
    MS-Off Ver
    Excel 2010
    Posts
    10

    Re: Multiple Shading within a Scatter Chart

    Hi Andy,

    Thanks for the reply. Sorry for the delay, I went to DC for the weekend. Do you have instructions for "adding additional data series plotted as stacked columns"? Unfortunately, I'm not an Excel guru and I'm searching the web think I found the site, but it is not easy to follow.

    Thanks,
    Micah

  4. #4
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,436

    Re: Multiple Shading within a Scatter Chart

    Use Select data dialog to add 4 new series.
    Go through each new series and move to secondary axis, via the format dialog.
    Then go through and change chart type to Stacked column for each of the 4 series.
    Back to the select data dialog to set the range for data and labels.

    Use the format dialog to set gap width to zero.

    To colour each individual stack data point, select series then select data point, format as required.
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    01-16-2013
    Location
    Pittsburgh, PA
    MS-Off Ver
    Excel 2010
    Posts
    10

    Re: Multiple Shading within a Scatter Chart

    Andy,

    Thanks so much! Its been a busy week but I was able to figure it out! Thanks so much for all your help!

    Micah

  6. #6
    Registered User
    Join Date
    01-16-2013
    Location
    Pittsburgh, PA
    MS-Off Ver
    Excel 2010
    Posts
    10

    Re: Multiple Shading within a Scatter Chart

    Andy,

    Do you know how to insert a legend with space to the right of my charts? I know how to insert a legend to the right, but it still overlaps the chart. I even have the "Show legend without overlapping the chart" box checked but it still overlaps. I think its because my chart has a secondary axis. I cannot expand the size of the chart area without the entire chart expanding along with it.

    Thoughts?

    Micah

  7. #7
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,436

    Re: Multiple Shading within a Scatter Chart

    Once the plot area has been manually sized and or positioned the inserting of a legend will not alter the plotarea.

    You should be able to select the plot area and manually resize the plot area, regardless of number of axes.

  8. #8
    Registered User
    Join Date
    01-16-2013
    Location
    Pittsburgh, PA
    MS-Off Ver
    Excel 2010
    Posts
    10

    Re: Multiple Shading within a Scatter Chart

    Andy,

    Please see the attachment. I cannot figure out how to change the size to add space to the right so that the legend does not overlap. The XY Chart Labeler Add-In works great!

    Thanks,
    Micah
    Attached Files Attached Files

  9. #9
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,436

    Re: Multiple Shading within a Scatter Chart

    Because the chartobject is grouped with shapes you have to do the following to explicit change the chart.

    Click the shape, notice the contextual tab is Drawing Tools.
    Click the chart within the grouped shapes, notice contextual tab is Chart Tools.
    Use the Format tab > Current Selection. In the drop down box select Plot area. You can now use the sizing handles to move and or resize plot area.

  10. #10
    Registered User
    Join Date
    01-16-2013
    Location
    Pittsburgh, PA
    MS-Off Ver
    Excel 2010
    Posts
    10

    Unhappy Re: Multiple Shading within a Scatter Chart

    Thanks for all of the help, Andy. I really appreciate it. I'm nearing the end of these tasks. Mind if you help me with the attached bubble chart? It's driving me nuts!! Attached is a list of stakeholders and then they are being plotted in the bubble chart. However, they are not all being displayed. I inserted rows to add additional stakeholders but the series data will not capture. I try to reselect the range for the series data but then most of the stakeholders disappear. Thoughts?

    Micah
    Attached Files Attached Files

  11. #11
    Registered User
    Join Date
    01-16-2013
    Location
    Pittsburgh, PA
    MS-Off Ver
    Excel 2010
    Posts
    10

    Re: Multiple Shading within a Scatter Chart

    Hey Andy,

    I am so sorry to be asking you but I think that after this last request, I should be good to go. Please see the attached. I'm trying to insert the legend but where the legend will list the number and then the suppliers name associated with that number. From the both tabs within the attachment, you can see that Best Buy is #1, Sears is #2, and HH Gregg is #3. The legend wants to plot based on the data from the chart used to shade the scatter chart.

    Thoughts? I really appreciate any assistance, Andy. Think I'll have to buy ya a few rounds the next time I'm in the UK!

    Micah
    Attached Files Attached Files

  12. #12
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,436

    Re: Multiple Shading within a Scatter Chart

    You can not select all the data and create a bubble chart as it expects the data layout to be,
    X values
    Y Values
    BubbleSizes
    Y values
    Bubble Sizes
    etc....

    where as you have no bubble sizes, so the second series of Y values is used and that data set is not plotted as an individual series.
    You could use a XY-scatter which will accepted your data layout, specially as bubble size is 1 for all data points. The draw back with that is the data markers will vary per series so you would need to format all series to have circle data markers.

    For the shaded scatter you need to define 3 series rather than 1 in order to have 3 legend entries instead of 1.
    Attached Files Attached Files

  13. #13
    Registered User
    Join Date
    01-16-2013
    Location
    Pittsburgh, PA
    MS-Off Ver
    Excel 2010
    Posts
    10

    Re: Multiple Shading within a Scatter Chart

    Hey Andy,

    Thanks so much for the reply. I created the bubble chart using the scatter chart you suggested! Thanks so much! Tomorrow I will attempt to "Define 3 series rather than 1 in order to have 3 legend entries instead of 1." I'm definitely not an expert at Excel so feel free to share a few steps on how I can do this. I'd really appreciate it. Being a financial analyst, there are just some technical things that I just have a hard time understanding. Thanks so much!

    Micah

  14. #14
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,436

    Re: Multiple Shading within a Scatter Chart

    Steps.

    Select chart
    Use Select Data dialog to Add series and select relevant data ranges.
    Format new series as required

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Shading periods in a scatter plot
    By Carlos Menegocci in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 10-12-2012, 10:46 AM
  2. XY (Scatter) chart - 1 series/multiple color
    By KHUY in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-20-2012, 06:41 AM
  3. Shading a section under a scatter graph?
    By I-Like-Excel in forum Excel General
    Replies: 6
    Last Post: 05-09-2011, 09:13 AM
  4. multiple lines / curves on scatter chart?
    By lightecho in forum Excel General
    Replies: 1
    Last Post: 09-03-2007, 12:19 PM
  5. Shading on a scatter graph
    By strobinson1 in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 07-07-2006, 05:10 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1