Chart in excel: y-axis not granular enough

Posted on 2011-10-27
Last Modified: 2012-05-12
Hi Guys,

I've been trying to plot a chart in Excel 2007 (on Windows 7).

It's basically some counter vs time-stamp. Now there are holes in the data (e.g. counter is 0 for some period of time, then some values then some 0s). What I want is a complete timeline on x-axis and counter values on y-axis. BY complete I mean if there is a hole in the value I want it visible on chart.

Attached excel contains the original data in col A and B. Col A's timestamps are pretty haywire, it's the raw data. First chart on RHS corresponds to that.

Then I created another set of data out of it, that's in Col D & E. Col D is time incremented by 5 mins (complete timeline without holes in time). Col E is the sum of counter value between D's timestamp and "D's timestamp - 5 mins". Now all I want to do is plot it. That's the second chart.

Question by:theKashyap
    LVL 50

    Accepted Solution


    change the chart type to an XY Scatter chart. Then set the minimum and maximum values of the X axis close to the actual data to avoid the white space between the Y axis and the first data point.

    Play around with the settings for major and minor X axis labels. In the attached sample I've set the major value to 0.125, which is 3 hours, so there will be an X axis label every three hours

    cheers, teylyn
    LVL 6

    Author Closing Comment

    Thank you. Perfect!

    Featured Post

    Better Security Awareness With Threat Intelligence

    See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

    Join & Write a Comment

    INDEX and MATCH can be used to great effect to replace HLOOKUP and VLOOKUP as it does not have the limitation of needing the data to be sorted so that the reference value is in the first column or row. It also has the ability to perform a bi-directi…
    This tutorial explains how to create a series of drop-down lists that are dependent upon prior selections to guide (“force”) the user to make the correct selection and reduce data errors within Microsoft Excel. Excel 2010 was used for this tutorial;…
    The viewer will learn how to use the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabil…
    This Micro Tutorial will demonstrate how to create pivot charts out of a data set. I also added a drop-down menu which allows to choose from different categories in the data set and the chart will automatically update.

    734 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    22 Experts available now in Live!

    Get 1:1 Help Now