+ Reply to Thread
Results 1 to 2 of 2

Dynamic graph plot automatically extending the x axis

  1. #1
    Registered User
    Join Date
    11-16-2018
    Location
    Germany
    MS-Off Ver
    2016
    Posts
    20

    Dynamic graph plot automatically extending the x axis

    hi all,

    I've a macro to plot graphs from a dynamic table:
    Please Login or Register  to view this content.
    It's working perfectly with the exception of always extending the x axis for some reason (image below). I'd like the scale to end when the graph ends (keep in mind the graph is dynamic).
    asd.PNG

    Thank in advance for your help!

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

    Re: Dynamic graph plot automatically extending the x axis

    As it is a scatter chart, rather than a categorical Line chart, the scale max will adjust to encompass the maximum data value.
    If you want the horizontal axis to have a maximum of 100 you will need to add code to fix the maximumscale value
    Cheers
    Andy
    www.andypope.info

+ 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. How to plot a logarithmic graph with 2 y-axis?
    By kureoshin in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 04-18-2015, 10:22 AM
  2. Plot on axis a different range than that one used for graph
    By pezalmendra in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 03-04-2015, 04:51 PM
  3. [SOLVED] Dynamic Graph, Do Not Want X-Axis to Plot Blank or Zero Values New version
    By Kartoffelmos in forum Excel Charting & Pivots
    Replies: 6
    Last Post: 10-21-2014, 12:58 AM
  4. [SOLVED] Dynamic Graph, Do Not Want X-Axis to Plot Blank or Zero Values
    By TEBrown in forum Excel Charting & Pivots
    Replies: 12
    Last Post: 04-11-2013, 05:08 AM
  5. How to plot scatter graph on horizontal axis
    By alsupport in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 09-28-2010, 04:53 AM
  6. Plot 2 data lines, same graph, same axis
    By Simoncush in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 03-24-2010, 05:03 AM
  7. Replies: 6
    Last Post: 01-25-2006, 02:45 PM

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