Is there a way to make a waterfall chart in Excel with vertical error bars?
The built-in Waterfall chart function doesn't seem to allow error bars to be added.
To describe in words what I want to visualize: I want to show what creates the difference between the beginning and ending value. I have a distribution of possibilities for each variable's contribution to the difference between the beginning and ending values. I want to display the relative confidence for each variable compared to the other variables.
Example below, for Var1, there would be a vertical line through the first orange bar, the top of the line would go to 38 on the y-axis, and the bottom of the vertical line would go to 33 on the y-axis. Preferably, the error bars would have a horizontal bar on the end to denote where the confidence interval ends.
Thank you!
Related
Hi, I have trouble with my line chart here, the line chart is overlaping and it makes another line is not visible or covered up.
If the data is so similar then the lines will overlap.
One thing you can start with is using a false y-axis zero, starting the chart at, say, 50%, this may provide sufficient separation if the values do have differences.
Is this specific type of line chart necessary?
A 3D Line chart might get past the problem.
Image of a 3D chart with similar data in 2 series
If you want to stop similar/identical lines overlapping without changing their actual values, you're going to need to plot one of those lines on a different scale:
in the 'chart design' tab hit 'change chart type'
change it to 'combo chart', ad set both series as lines but in one of them, tick the box for 'plot on secondary axis'. Or, you could set one series as a different type of chart, e.g. a bar chart.
If both are lines and both axes default to the same scale (which is quite probable), you'll want to edit one of them to adjust the scale. Right click on a chart element and hit 'format', then select either 'vertical axis options' or 'secondary vertical axis options' from the dropdown, then click the fourth icon (little bar chart) and adjust the minimum and/or maximum bounds.
Hopefully that should separate the lines out without changing the values they actually depict. However, if it really comes to that, it might be easier to set them as two different charts. Certainly would make it easier to interpret the values.
I am on day #2 of searching the web and, while I have found plenty of hits that seem like they should work, none of them seem to apply to my particular situation.
I have an Excel chart with two series displayed. One is a sort of exponential decay curve, and one is a constant that intersects with the exponential curve, but does not continue past it (the final x-value of the orange line is estimated to make it look like it intersects the blue curve):
The raw data for the blue curve is as follows (leaving off data labels for confidentiality reasons, but x-values are on the left and y-values are on the right):
The orange line is simply set at 24 all the way across until it intersects with the blue curve.
So here's the problem I need to solve: I need to fill in all of the area below the blue curve with one color, and I need to fill in the area below the orange line with another color. Everything above the blue curve needs to be blank (transparent). Here's an illustration of what I want:
I know in order to get the coloring/shading I need to use an area chart. However, when I try to change the chart type to Area the scales of the axes change for each series and they no longer match up, and I am unable to edit the axes (can't set min, max, etc) to make them match up again. Additionally, only the area directly beneath the constant line fills in (as expected), but I am looking for a way to fill in the area between the orange line, the blue curve, and the axes:
How might one go about doing what I need to do?
If there's any other information I could provide that would be of help, please let me know and I'll be sure to add it in.
EDIT:
I can extend the orange line to follow the blue line off to the right, which may help fill in the lower area. However, when I switch to an area chart I still get the issue with mismatched axes with scale I can't edit:
Notice how the "567" point (the x-value where the orange line should intersect the blue curve) is spaced evenly between "500" and "600", rather than scaling slightly to the right of center as I would have expected.
How do I keep the spacing of one tick every 100 units on the x-axis but keep the datapoint for 567?
You could find the intersection point's coordinates (graphically or analitically), then split your data in two separate series within the same graph as follows :
Edit post comment section :
For some reason x-values are considered by default as text.
Righ click the x-axis > format > Select date on the axis
Then play with the principal and base in days/months to have the intervals you want.
Good parameters for this data :
main : 100 in days
base : in days
I would just have two identical charts : one does the blue and the other the orange then lay the orange chart on top of the blue and make it transparent ... worked a treat in the past...
I have a combination chart with same type of values on both left y-axis scale and right y-axis scale. When I add a target reference line using lines and curves at some point on y-axis scale, I see two reference lines one for left y axis and the other for right y axis. Is there any option to display only one reference line according to scale on my left y-axis ?
Thanks
the way I understand your question is that you...
have a combination chart with multiple axes
are attempting to use the Lines and Curves feature to create a line based on your data
have one line appearing for each axis
would like to have only one line for the entire chart
the short answer is, unfortunately this is not possible when using multiple axes.
I assume that what you are trying to compare is two relative sets of values on different axes, but one of those sets has some kind of benchmark (target reference line) to measure against.
I can suggest two possible workarounds that might still do what you need:
if your benchmark value never changes, you can add a horizontal line with a fixed value. technically, this will draw as many lines as you have axes, but since they will all be the same value, they'll render on top of one another and appear to be the same line.
if the benchmark does change, and you can get the benchmark into a Document Property, you can render it just like the above, but based on the property rather than a fixed value. this would allow the value to be dynamic, but you have to get it in there in the first place.
I would like to create a bar-chart (or a histogram?) with vertical bars and a numerical x-axis , but I do not know how/where to start. I have MS-Excel and Origin-plot available with me. My intended chart would look like this:
You can more or less get what you want by adding and styling error bars appropriately to a scatter plot. The error bar is a simple way to force Excel to draw a line under/over the point.
Chart with data and error bars
Couple steps
Make an XY scatter chart
Add the error bars and delete the horizontal ones that come up
Set the negative error bar for the points to be equal to the same value that is being plotted
Set the positive error bar to 0 so it does not show
Change the formatting on the error bar to be thicker
Possible hide the initial dot shown so that it is bar only
You could take these steps and codify them with some VBA to prevent the tedious nature of doing this multiple times. Setting error bars is one of the worst activities to have to do continually.
I believe you should also be able to get your desired colors by adding multiple series. Possibly all the more reason to do this with VBA.
In Excel 2007 I have a chart with a horizontal line (data series) similiar to what this page shows. But, as you notice, the line starts and ends in the middle of the data point. So, if there are bars on the same chart, the horizontal line will not extend to cover the entire first and last bars. How can I extend the horizontal line to touch the chart edges on the left and right sides?
I tried putting in "dummy" points at the beginning and end of the data series that had zero values (for the bars). This looked good, but the x-axis numbering started at zero and ended at one more than my last real data point, which, in my case is unacceptable.
Oh, and I'm creating the charts in VBA, so I need a VBA solution (which may be the same as the manual solution, just coded). Thanks.
If you right click on the horizontal axis and go into axis options. At the very bottom under Position Axis: select "On Tick Marks"
I answered a similar questions here:
Bar and Line charts are not synced when in the same chart area
In the above question the user needed to move the line to the left, but you can do a similar thing for your case.
Use scatter chart for your line chart. Then you need to set the xvalues of the scatter chart to be a bit different than the ones for your column chart. So let's say that your x-axis numbering goes from 1 to 12. Then you should distribute your xvalues for scatter chart from 0.8 to 12.2. That moves the starting point a bit to the left (0.8 instead of 1) and the last point a bit to the right (12.2 instead of 12). The exact number that you should use will depend on your gap and overlap settings of the column chart.
I eventually found an answer here. This worked great for me and did exactly what I needed.