+ Reply to Thread
Results 1 to 5 of 5

Excel 2007 : Chart X-Axis automatically resizing upon adding additional values

  1. #1
    Registered User
    Join Date
    02-02-2011
    Location
    Vienna, Austria
    MS-Off Ver
    Excel 2007
    Posts
    2

    Chart X-Axis automatically resizing upon adding additional values

    Hello!

    Im a student of economics in Vienna, and am currently working on my diploma's thesis.
    Right now, I want to analyse my survey data, which consists of opinions to many different online community features.

    All the opinions are in "Worksheet 1".

    Each feature now has its own Worksheet, where data from "worksheet 1" is displayed.
    It is collected via a series of relational functions, which depend on Cell A1.

    If, for instance, I want to analyse the responses for "Forum", I simply type "Forum" into Cell A1 and it will get all the responses for "Forum".

    I then copied this sheet, exchanged "Forum" for "Wiki" and so on....

    My problem is now, that each sheet has a "scatter plot" chart on it, which charts one value only. (On the Worksheet "Forum" it only plots (X,Y) for "Forum")
    Irrespective of the attribute (i.e Wiki, or Forum) it will always only chart values between 0 and 1 on both axis.

    Now, for some strange reasons however, the X-axis always changes its length, when the word (Wiki, Forum etc..) changes.

    I have already formatted both Axis as follows:
    vertical axis cross: 0.0
    min: 0
    max: 1
    major grid: 0.5
    minor grid: 0.1

    also, i have formatted Chart tools --> Format --> Size --> Properties --> "Don't move or resize cells"

    Unfortunately the X-axis is still not locked, but changes depending on where the Datapoint of the attribute lies on the chart:

    If X-Value > 0.5 then "Chart axis grows in length"
    If X-Value < 0.5 then "Chart axis shrinks in length"

    Could someone please tell me if there is a possibility to define an absolute chart size and axis-length?


    Thanks a lot for your help in advance!

    kind regards,

    Haide
    Attached Images Attached Images
    Last edited by haidenai; 02-02-2011 at 01:54 PM.

  2. #2
    Forum Expert pike's Avatar
    Join Date
    12-11-2005
    Location
    Alstonville, Australia
    MS-Off Ver
    2016
    Posts
    5,330

    Re: Chart X-Axis automatically resizing upon adding additional values

    Hi haidenai
    Welcome to the forum
    This site has a very good example of the dummy series needed to size the chart
    http://spreadsheet-toolbox.com/libra...ith-quadrants/
    If the solution helped please donate to RSPCA

    Site worth visiting: Rabbitohs

  3. #3
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,372

    Re: Chart X-Axis automatically resizing upon adding additional values

    Hello Haide,

    it might be a good idea to post an Excel workbook instead of a picture.

    In general, you can set the maximum and minimum values of any chart axis in the Format dialog for the axis.

    If you do not want to do this manually, you can use VBA macros to ensure the min and max values for your charts.

    Again, this will be easier to solve if you attach a file with some sample data and some charts, instead of a picture. Click "Go Advanced" below and then the paper clip icon to attach a file.

    cheers,

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

    Re: Chart X-Axis automatically resizing upon adding additional values

    looking at the image it would appear the length of the legend text has caused the plotarea to re position itself.

    Try placing the legend at the bottom of the chart or if you only have 1 series removing it completely.
    Cheers
    Andy
    www.andypope.info

  5. #5
    Registered User
    Join Date
    02-02-2011
    Location
    Vienna, Austria
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Chart X-Axis automatically resizing upon adding additional values

    Thanks a lot for your answers people!

    I googled a bit more and have now used TM Chart Utilities to lock the aspect ratio of the chart. I honestly do not know what it did, but atleast the chart one budge anymore!

    I didnt want to upload the whole workbook, since the data im using is not mine. But the problem is solved, and thanks again for your help!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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