I have to following chart with dates as the x-Axis:
How can a white, vertical line on top of the bars chart be displayed at today's date?
Here is detailed step-by-step guide: http://peltiertech.com/Excel/Charts/DummySeries.html#AddLine
My own sample file shared as an example: https://www.dropbox.com/s/8uyxqpiq2blv6t9/Charts_H-V_Lines.xlsx
Hope that's somehow helpful.
Related
I'm using Libreoffice (but I think that this is similar in Excel) and I need to draw a vertical line in correspondence of the green points in this image:
Possibly follow the line style that I used in the legend. How can I do this?
In Excel you can use vertical error bars. If you want to have a line drop vertically to the axis, use the settings with Minus and 100%
In Excel, I want to change color of the dotted lines in a "Line with Markers" graph.
I clicked to format the legend and I chose a color in Border and it changed the color of the line only, and not the markers. How do I change both the line and markers color?
Click on the markers and not on the line. proceed with the same steps as with the line.
Right-click on the line (in the graph) and select Format Data Series. You'll get something looking like this (might differ depending on your version):
Here you can choose Marker Line Colour, Marker Shape (in "Marker Options"), Marker Inner colour (in "Marker Fill") and many other things. Hope that helps!
I'm trying to create a combined scatter plot and "bar chart" - the bars extend the full height of the chart, but their width varies (I have a table with the start and finish points on the x-axis).
Here is a mock-up:
http://imgur.com/EHzv5YB
Do you think this is possible in Excel? I have found some links on how to overlay multiple plot types, but none involving variable width shaded areas as seen in the example.
Would really appreciate any help. Thanks!
I've written a tutorial showing how to Highlight Certain Time Periods in a Chart.
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.
Do you know if this chart, as shown in the following image, can be done in Excel?
Chart:
I don't even know how this kind of chart is named, so I cannot search in the web for tutorials. I don't need to display three points on every row as in this chart (one is enough), and even I can mark the control group manually.
Yes this can be done in Excel.
If you want vertical orientation like on the picture above, then you should probably use the Scatter chart with quite some modifications. You would set the x values of the series to your values and the y values can be just 1,2,3,4,5.... The biggest problem with this approach would be how to display the correct categories. There is a tool to help you do that and it is discussed here: https://superuser.com/questions/485883/how-to-create-dynamic-scatter-plot-matrix-with-labels-and-categories-on-both-axi
For horizontal one you can use a normal line chart - with hidden line and only markers visible (Excel doesn't support vertical line graphs).
Even three groups are easy to do, you just need to add three series and format them accordingly.
The lines are also quite easy to do, you add minor / major gridlines to the chart and then format those as well.