Access Graphing with inconsistent x values - excel

I need to make a graph from a list of values that don't line up with each other. There are samples being taken in a process at certain times, but they aren't always the same. For Sample A, the times are 1pm, 3pm, 5pm, etc. For Sample B the times are 2pm, 4pm, 6pm, etc. For Sample C the times are 1:30pm, 3:30pm, 5:30pm etc.
If I graph each sample individually they are fine, but when you graph them together you can only get the xy scatter points, but no lines since it thinks there are missing values. I just need a rough comparison of increase/decrease over time. If I could connect the dots with lines ignoring the missing values that would be great! I just don't know how to do that... Any suggestions?
This is for Access, otherwise this would work.
Excel - Connect Data Points with Line

You have to use old excel knowledge. In Access, set up the graph with xy scatter like you want. Then Tools > Options > Chart and select Interpolated. That should do it! Just took a while to find what it might be called and where it might be located.

Related

On Excel, can you highlight categories during the timespan of a few hours? (Example attached)

I have attached a screenshot highlighting the type of graph I am trying to achieve: Timeline-graph
The execution of the graph does not have to look exactly like this, but the idea is to show 2-3 different 'states' throughout a period of a few hours.
The data I have is very simple, just a timestamp for beginning and end, and the period being marked as either 'yes' or 'no'.
So far I've tried using scatter plots but the end result is not really that good, I would want to mainly highlight the periods using colour and nothing else. Scatter plot can only handle a yes and no category, and looks more something like this: Attempt using scatter plot
Using bar charts etc. does not really work, as Excel does not space out the different timestamps correctly.

Variable-base column bar graph

I am trying to get a variable-base column bar graph in Excel. Basically, with reference to the figure below, I have a number of periods. Each period can range from 1 to 5 months. So the various periods do not have the same length. Each period, however, has only one value associated with it that is representative of the entire period.
What I wish to achieve can be seen in the first figure (A), where two characteristics that the graph must have are also highlighted, namely, to consist of columns of varying width, as well as height, and to have the final month of the period placed in the center of the column and not at the bottom right.
I have tried several ways to get this graph with Excel, but all I have been able to get is visible in the second figure (B). Basically, I had to create a second, auxiliary, table by hand from the first, and then generate a normal column chart.
Clearly the result is different from what I wanted, although I came close.
Do you think it is possible, with Excel, to get exactly the chart I need without having to use a second table? Or, alternatively, do you think there are other programs, e.g., Holoviews (Python) to get the expected result?

How do I generate floating time barchart in excel?

I wish to automate the visualisation process of my activity monitoring process.
To do so, I import a starting time, ending time and activity name of an activity, afterwards I distribute these over separate sheets.
And now I'd like to first manually build a graph that visualizes the data in the desired way, and that's where I run into trouble.
Data and graph nearly visualized:
Obtaining the desired way entails 2 more small steps, the first and most important one, which I have troubles with is:
Visualising the difference between two plotted bars, on the actual location/height of the difference, in stead of two bars going up to the starting, and ending point of an activity. (practically inversing the area that is plotted with the area that is not plotted*)
Clustering the activities into 1 vertical bar consisting of several smaller bars floating in the right time, visualising the time of the activity. But that's something I'll look into after solving 1.
Ps. if you are interested in the actual .xlsm for your own use feel free to send me a pm.
*As seen I already tried to use just the actual duration of the activities with their respective starting time, but it only yielded 1 line of identical bars.

Graph comments in a graph like a label?

I have come across this several times and I was wondering if it is possible at all.
Let's say I have 3 columns, one with numerical values, one with time values and a third column with text (1-3 words). I then create a graph with the numerical values (y axis) and the time (x axis). When I then hover over the individual data points on the graph it shows me their numerical values. Is there a way to also show the text associated with that value?
To put it in context, I am plotting noise values for a day and would love to hover over the graph, in particular the peaks and then have a text appear that tells me what the noise was related too, what noise source (e.g. airplane, truck etc).
Is this possible? I was thinking of maybe plotting a second axis for the comments and maybe just plot them all at the same y value but then I am still left with the question on how to display the text comment?
Any ideas?
Cheers
Sandra
Tushar Mehta has an add-in for that here
It has been tested for Excel 97 to 2002, which are all pretty old versions.
The charting engine has changed completely fromexcel-2007, and the menus have gone, so chances are that this tool may no longer work.
I have not seen anything like this done in more recent Excel versions. Probably because it is not an easy task to achieve.

Excel chart: on/off values with timestamp

I have 3 columns of data, eg:
http://i.stack.imgur.com/XjGmu.jpg
When Excel creates a line graph of this, the blue line is what i get.
This is not correct because the time stamp shows the time when something is switched on (255) or off (0) (could also be the current state eg 16:08). So I'd like a graph like this - see the red line (with a time-based X axis off course):
http://i.stack.imgur.com/vNvPk.jpg
Anyone can help? Thanks
As #Jon49 indicated, you need to plot additional data points--two y values for each x value: one to plot the point at y=255 and one to plot y=0.
If the time-span of the data is at least a few days, you can use a line chart. But in your case since the values are within a day, the scatter chart with straight lines is the only option due to the limitations of the scale units for line charts.
The key is the values need to be in the correct order. Each y=255 value needs to be followed by the next time-stamp's 255 value followed by it's 0 value, followed by the next time-stamp's 0 value:
Excel doesn't support this type of discrete value graph (at least not excel 2k3 that I am using); your best bet is to use a bar graph and then go into the settings and set the gap width down to zero.
Not sure what the best way is but I would automate what I describe below on how to do (unless this is a one time deal, then just brute force it):
Separate the 255s from the 0s. Make sure for every 0 time there is a corresponding 255 time. Take the zero times and put in a scatter plot then add a y-error bar and make the fixed value equal to 255. Format to how you like it.
Now for the 255s. Add those to the chart by pairs. Make the chart type for these pairs scatter plot with a line. Format how you would like them to look.
Let me know if that doesn't make sense to you.

Resources