+ Reply to Thread
Results 1 to 6 of 6

Can you make a bubble chart show number ranges, rather than just numbers?

  1. #1
    Registered User
    Join Date
    01-28-2020
    Location
    UK
    MS-Off Ver
    Excel for office 365 MSO
    Posts
    14

    Can you make a bubble chart show number ranges, rather than just numbers?

    Hi, This bubble chart is working, except the X Axis should be showing ranges of 0-4, 5-9, etc... but it's showing just numbers of 1 to 6. Any idea how to fix that, if I can?

    bubblechart.PNG

  2. #2
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,316

    Re: Can you make a bubble chart show number ranges, rather than just numbers?

    Based on your picture, right click on the Horizontal Axis, Select Data, and then Edit the Horizontal (Category) Axis Labels to use the Years as the Labels.

    If this does not work, post a workbook sample vice a picture. We often can't work with a picture.
    HTH
    Regards, Jeff

  3. #3
    Forum Expert KOKOSEK's Avatar
    Join Date
    08-03-2018
    Location
    Pole in Yorkshire, UK
    MS-Off Ver
    365/2013
    Posts
    2,742

    Re: Can you make a bubble chart show number ranges, rather than just numbers?

    I am not sure it is doable. But You can use labels to present it.

    Capture.JPG
    Happy with my answer * Add Reputation.
    If You are happy with solution, please use Thread tools and mark thread as SOLVED.

  4. #4
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,827

    Re: Can you make a bubble chart show number ranges, rather than just numbers?

    A bubble chart, like an XY scatter chart, uses a value axis for the horizontal axis, and therefore must have numbers on that axis. Your "a-b" ranges are text strings, and cannot be represented on a numeric axis.

    Excel does not have a built in way to add text categories to a numeric/value axis, but such an effect can be cobbled together in other ways. Two techniques spring immediately to mind:

    Approach A) Though a bubble chart cannot use text categories for the horizontal axis, I know many other chart types that natively support text categories -- like line charts. So, if I can create a bubble + line combination chart and get the bubble chart's numeric horizontal axis to line up with the line chart's category axis, I will have the effect I want. Assuming you are already somewhat familiar with creating combination charts:
    A1) Add a dummy series to the chart that includes the appropriate text categories for the horizontal x axis data and change this series to a line chart.
    A2) Spend some time fiddling with the primary and secondary horizontal axes until the bubble chart's axis correctly lines up with the line chart's category axis. (this can be a little tedious as it will usually require some trial and error to get the axes to line up).

    Approach B) Add a dummy series with markers at the right position on the horizontal axis, then use the data labels for those points to show the desired category text. Essentially, it is this technique (https://peltiertech.com/Excel/Charts...egoryAxis.html ) applied along the horizontal axis instead of along the vertical axis.
    B1) Add data to the spreadsheet for the desired dummy series. Add this data series to the chart.
    B2) Add data labels to the dummy series, use values from cells, and use the text in the first row.
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

  5. #5
    Registered User
    Join Date
    01-28-2020
    Location
    UK
    MS-Off Ver
    Excel for office 365 MSO
    Posts
    14

    Re: Can you make a bubble chart show number ranges, rather than just numbers?

    Thanks everyone, in light of all of the above, I am going to move from ranges to the actual numbers... I guess as a bonus there will be more bubbles too!

  6. #6
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,316

    Re: Can you make a bubble chart show number ranges, rather than just numbers?

    You are very welcome and we are surely happy to have help. Thank you for the feedback.

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

+ 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. Replies: 12
    Last Post: 01-29-2020, 05:40 AM
  2. Replies: 1
    Last Post: 03-09-2015, 07:49 AM
  3. Color a bubble chart based on a range of numbers
    By bradv23 in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 11-18-2013, 05:03 AM
  4. Help to make a bubble chart
    By smna in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 08-29-2013, 06:50 PM
  5. How to make a Bubble Chart
    By earthworm in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 01-01-2010, 01:57 AM
  6. Edit bubble behind another bubble in bubble chart (2007)
    By JayUSA in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 07-14-2009, 03:10 PM
  7. [SOLVED] Bubble chart with names in X and Y axis instead of numbers
    By Federico in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 05-09-2005, 08:06 AM

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