Description: Zooming & Scrolling inside excel chart


If you are analyzing data using excel chart, sometimes you need to zoom in/out or scroll up/down to a specific data range.
 Repeating this step more than once can be frustrating and time consuming.

Zooming and scrolling using the powerful add-ins is simple and powerful.
All it requires is a mouse movement to define the zoom range or scrolling direction:

How it works:

Short description:
  • Select the desired chart using the mouse
    • For Zooming in:
      • hold Ctrl key
      • Click left mouse key
      • Drag mouse along the chart to define the desired zoom area
      • Click left mouse key to apply zoom an the selected area 
    • For Zooming out:
      • Option no.1: Double click on the desired axis to zoom out by factor of 2​
      • Option no.2: Hold Alt key & double click on the desired axis to "Auto-scale"
    • For Scrolling:​
      • Hold Ctrl+Shift+left mouse key​
      • Drag mouse along the chart (x,y) to scroll
Full description:
1. Three options to zoom in:
Option 1a:
    • Hold the Ctrl key and click the mouse key while moving the mouse over the desired range that you want to zoom in. This will create a rectangular which defines the area were you want to zoom in. 
    • When you decided on the size and position of the rectangular,click again on the mouse button to launch the zoom in.
    • Option 1b: (secondary axis)
    • In case you have a secondary Y axis, first select the Y axis with the mouse (not double click) and then run the "Option 1a" procedure. In order to switch back to the Primary Y axis, select it and then run "Option 1a" procedure
    Option 1c: (both primary & secondary axis)
    • If you are interested in zooming both axis's, select the plot area ( instead of Y1,Y2) and then apply "Option 1a" procedure 
    Option 2: (zoom x2)
    • Holding the Shift+ALT and double click on the desired axis (X or Y1,Y2) U want to zoom in by factor of  x2
    • The position of the mouse arrow (when double clicking) will impact the center of axis
      • e.g. if the axis range is 0..1000 and U double click on 500 it will change the axis range 250..750. however, if you click on 1000 it will change the range to 500..1000 
    Option 3: ("floating rectangular")
    • Every time the user selects the plot area, a Lens icon is formed on the top left corner of the chart. clicking on the icon forms a rectangular at the center of the chart
    • Move the rectangular and reshape it to the desired place.
    • double click on it to zoom
    • This option is very helpful in case of large data ( >50,000 point)

    2. Zoom-out (two options):
    Option 1: (Auto scale)
    • Zoom out to the original X or Y chart range by double clicking with the mouse on the desired axis to be zoomed out while holding the Alt key
    Option 2: (zoom out X2)
    • Zoom out by a factor of 2 i.e. mini zoom out, is done by double clicking with the mouse on the desired axis to be zoomed out. 

    3. Scrolling:
    • Scrolling in the X or/and Y direction is done by holding Ctrl, Shift and mouse key together while moving the mouse to the desired direction. 
    4. Command bar:
    • Right click with the mouse outside the chart, pops up a standard roller bar with additional 5 options: Help, Enable, disable undo redo.



    Installations instructions:
    1. Download the Add-in file to your computer.
    2. Open an excel file.
    3. In the Tab list above, look for the Developer tab.
    4. If you do not have the developer tab, Go to File tab and look for "Options" and then Add-Ins".
      1. A window will open. below there is the following :Manage: Excel Add-Ins and Go button. push it!
      2. Click the "Browse" button and paste the .xlam file you downloaded to your computer to here.
      3. click O.K. and that's it! 
    5. If U have the developer tab, click on it and then click the Add-Ins tab.
    6. Use the same procedure as in 4.2 and 4.3 to install it on your computer 
    7. In case that the excel Add-ins is not loading, place the add-in in a Trusted Location (in Excel, go to File > Options > Trust Center > Trust Center Settings > Trusted Locations), such as the following folder, and load it from there:for example : C:\Users\%USER NAME%\AppData\Roaming\Microsoft\Excel\XLSTART


    39 comments:

    1. Everything works great except for the right clicking outside the chart. I don't see the options you mention.

      ReplyDelete
      Replies
      1. can u right click and "print screen" so i can see the problem?

        Delete
    2. hi,
      Just now saw your notes.
      Yes, i need a screenshot of the problem. before and after. it seems that it is already fixed in the new rev i'm uploading at this moment.
      anyway,
      send me a mail with the issue and i'll fix it

      ReplyDelete
    3. Hello
      I downloaded the limited edition and when I click in a line chart a message appears "zoom and scroll works only on scatter plot". I'm mostly intereted in line charts

      Also, if I try in a scatter plot, the zoom window only works if the window is created by clicking first the lower-right corner and then the upper-left corner

      Am I doing something wrong?

      Thanks
      TONI
      t.sola@spin.es

      ReplyDelete
      Replies
      1. Dear friend, i just now saw your mail. very sorry.
        the limited version only gives you a clue of the tool. the real code runs also on line charts. fill free to buy.
        if you will not be satsfied, i'll return u the money.
        bye.

        amit

        Delete
    4. Hey I just bought your tool and I like it but I wanted to see if you could add the ability to zoom in/out by using the scroll wheel without having to zoom a box or select an axis. Also the ability to change how much each step of the scroll wheel zooms in/out. This should adjust both the x and y axis using the cursor as the center point. This is the only feature missing from the 3 I was looking for. I appreciate your work!

      ReplyDelete
    5. Hello Amit,
      When i hold ctrl down and left-clk to draw a box on a plot to zoom into, the point where the box starts to draw is not where my mouse clicked. The box actually draws offset to the right of my mouse. Can you help me fix this issue?

      ReplyDelete
      Replies
      1. Very strange, i experienced this issue several years ago when the Code was at its 1st stage. it was related to the definition of the screen resolution.

        Try installing the code on another computer, different screen and see if this issue is gone. please update me on the progress, i'm interested in solving this issue.
        best,
        Amit

        p.s. If U R not satisfied, i'll return U the money.

        Delete
      2. Hello Amit, I seem to experience this issue with Excel 2007 and not with Excel 2016. I hope you can help. I am not ready to completely switch to Excel 2016 yet, my work still uses Excel 2007. See screenshots here https://youtu.be/BJSv7MUk2p4

        Delete
      3. Very well,
        I'll install excell 2007, simulate the bug and add a patch to the code that will solve this issue.
        thanks,
        i'll update you

        Delete
      4. Thank you very much. Hope it only takes some simple coding.

        Delete
      5. There is an option to manually fix the bug by adjusting a scaling factor inside the code. For this, i need to upgrade your code and attach additional text file where u can control this factor

        Delete
    6. Hello, I just bought the full version and tried to install it on excel 2013. I verified that the add-in is installed and checked, but when I select a chart and press the ctrl button nothing happens. Is it the excel version?

      Thanks,
      Bryan

      ReplyDelete
      Replies
      1. Don't worry,
        probably some small error during installation,
        I'll instruct you on the mail.

        Delete
    7. Hello
      I downloaded the limited edition, then try on 2 computers with excel 10. the computer with Windows 7; The right mouse button outside the chart works to display a standard tread with three additional options: enable code, disable code and help function. But the operations on the graph do not work! On the computer with Windows 10, the code is loaded, but nothing works. Since France, I can not buy the code because PayPal does not work.
      Can you help me?
      Pierrick

      ReplyDelete
    8. Hi,
      Regarding your installation on W7.
      it seems that you installed correctly,
      remember that the only thing working in the limited addition is the zoom in.
      U need to select the chart with the left mouse button, then hold the CTrl key and click and hold the left mouse button. moving the mouse over the chart creates the zoom range triangle.

      Anyway, the limited addition was developed several years ago. if you are still having trouble, i'll update it and send over to u.

      ReplyDelete
      Replies
      1. Hello,
        Thanks a lot for your help.
        About my installation on W7.
        I understood what was not working. I worked on a line graph and not a cloud of points. I had not paid attention to a Microsoft Excel window: Zoom and scroll Only works with the scatterplot. Now it works!!!
        I still can not pay you through PayPal, I still have the message: The system is not working yet. Try again later.
        Thank you.
        Pierrick.

        Delete
    9. Great, send an email to paypal describing the issue.
      If that does not help, try finding other ways to pay and ill send u the code directly

      ReplyDelete
    10. There is an option to enter to paypal site and pay directly to my gmail account.

      ReplyDelete
      Replies
      1. Hello Amit,
        I installed the full version. It works on both my computers. With Windows XP, it works with both online and cloud charts. With windows10 only with cloud diagrams. Unfortunately, on both computers, it does not work properly with logarithmic charts.
        Too bad because it was with the graphics and the logarithmic scale that I wanted to use it ... So much the worse
        Thank you.

        Delete
      2. I think its not a problem to fix it.
        Please send me the graph you are having this issue. i'll debug the code and upgrade yours free.

        Delete
      3. Hello Amit.
        Have you started looking at the problem with logarithmic scales?
        Do you think you can quickly find a solution?
        cordially
        Pierrick

        Delete
      4. Hi Pierrick,
        the logarithmic scale issue is finally solved! both on zoomin in and on scrolling

        Delete
      5. Hello Amit,
        Good news ! I want to pay another license in thanks.
        How to download the new code. Once again I encounter problems because the link by PayPal does not seem to work.
        cordially
        Pierrick.

        Delete
      6. strange, buy the code and i'll mail you the file
        good day

        Delete
    11. After working for years this tool has stopped working...I completely removed the add-in and reinstalled and still nothing. Please advise!

      ReplyDelete
    12. I just sent U mail.
      let's understand the issue in details.

      ReplyDelete
      Replies
      1. Amit - I don't see your email. How can I contact you? Thanks

        Delete
    13. Hello Amit,
      Thank you a lot for this very usefull add-in. It's umbelievable that Microsoft never improves its graph under Excel.
      I've just noticed that the scales figures are modified with a personal format instead of keeping the original one. Could you modified this? For example is the original is 100, it is changed into ,100.
      Kind regards,
      J-Daniel

      ReplyDelete
    14. I downloaded the paid version, installed it per the instructions, and can't get it to work. Please advise.

      ReplyDelete
    15. I'll mail u privately and solve the issue. If it is not solved, the money will be returned.

      ReplyDelete