I was wondering if there is a way to integrate a bar chart and a line chart into "one single chart", where the bars are "on top of the line plot? See picture for a clearer view.
(Obviously the bar-chart is not supposed to be outside the actual plot...)
This is a bit of a hack, but you could create two charts with the chart area fill transparency turned to 100%. This allows charts to be placed on top of each other, but in a way that both can be seen. Turning off any elements in the chart that you don't want (for example, duplicate axis) would enhance the presentation.
Problem solved. It was actually just a matter of scaling data, and using two "line with markers" type charts. The lines in between each dot in the one showing the percentage, were then removed. Then, using a certain layout, a line connecting the two series could appear (as shown in pic).
Related
We often show several legends in our charts and usually even a label as footer.
The legends can be above or below the chart and thus also the footer.
If there is more than one legend, the legends should be drawn stacked up, one above the other.
For this case we use standalone legends and labels.
But we have a problem:
Since the legends and the chart are all drawn in the same container, the chart hides the legends.
We have solved the problem so that the margin of the chart is adjusted when a legend is drawn underneath it. Now the chart takes less space and you can see the legend as planned.
However, this does not work properly if there are several legends or footer.
Standalones cannot be placed with top() or left(), but only have their parent container and a position().
Manipulating the margin of each legend and the chart to fit them all in the container is not a satisfying way to do this.
There must be a better way to control the layouting of the elements within the container.
What is the right way to do this?
The position of standalone legend on the stage can be controlled using parentBounds() function. For details, check the sample.
Can I do that in Excel or PowerPoint, maybe with necessary add-ins like Think Cell? I wouldn't want to do that manually by using shapes or overlaying one type of chart over another.
An example of such chart from McKinsey research:
To create such a chart I would assume that the author either colored it manually (not so unlikely if the picture is a one-off, consultancies have lots of people for such tasks) or used the following trick: The picture you showed consists of two charts (leaving the pillars on the right hand side out of scope):
The bar chart with all the numbers and texts in front
And in the background an area chart without numbers and texts
While 1) will only have columns for 2012, 2013, ... 2017 it is necessary that 2) is more granular and contain y-values for the following x-values 2012-left, 2012-right, 2013-left, 2013-right and so on.
In the end there will be quite some fine-tuning required.
All the best.
Jens
In excel charts can we change design of bars from
to
Background: I have taken agile project plan excel template from https://www.smartsheet.com/agile-project-management-excel-templates, but I didnt like the bars without arrows and hence I want to change these bars to look something like bars in https://www.smartsheet.com/agile-project-management-excel-templates#agile-product-roadmap-template
Lead here is appreciated.
Half... Let me show and you decide :)
This arrow is not a chart object. It's a shape, a drawing:
However, we can use shape object in Excel charts.
Remove text (you'll see in the last picture why) and Copy the excel object (picture above).
Mark the chart series you want to replace (notice I marked all of them, small circles)
Then just paste :D!!
Notice one bar has a border line, just click on the bar -> "Fill & Line" -> "Border" -> "No Line" to hide the border line around your shape object.
You can do it individually with different colours. When the graph changes the size of your bars changes too (according to your data). It's a bit more "maintenance" but looks better. General rule, the better it looks, the more "special" it is (more manual involvement)...
I'm using Tableau 9.0.2 to generate graphs and I can't for the life of me figure out how to move (ideally drag, right?) the field name for my x-axis from the top to the bottom of the graph, by the units, where it should be.
I'm attaching a picture because it's probably the easiest way to make clear what I'm trying to do, given this is a question of positioning:
This Tableau graph has the field name "Iterations" at the top of the graph, not the bottom, where it should be. While this might not seem like a huge concern, it means that these graphs are not immediately exportable.
How can I move the label "Iterations" to the bottom of the graph, next to its axis?
The answer currently offered below allows for manual image modification within Tableau, which is unsatisfactory. It seems bizarre to me that the default, unchangeable behavior of Tableau goes against standard practice in graphing (labels next to labelled).
If the goal is just to get the headers and the axis label in the same place, one alternative would be to move the headers to the top of the chart (as opposed to moving the axis label to the bottom).
Go to Analysis/Table Layout/Advanced... and uncheck the option "Show innermost level at bottom of view when there is a vertical axis". This will move your Iterations headers to the top of the chart, and now everything will be in the same place.
If that's not an acceptable alternative for you, here's the only (kind of unfortunate) solution I can think of:
Place your worksheet in a dashboard.
Right click the axis label and select Hide Field Labels for Columns.
Create a text box with your desired axis label (in this case "Iterations") and place it below the chart. Your headers and your DIY, home-brewed, hacktastic axis label will now both be at the bottom.
Hide the columns axis label then enable / edit the caption within the bottom of the dashboard. Then center the value of the caption. Should look better.
I have some trouble with a document when exporting it to pdf with the builtin pdf export function of excel (2010).
I've generated a graph on my worksheet, with some colored cells arround it. Visually it looks good (even if I zoom on it with the ctrl key + mouse wheel). But when exporting, the graph overlap the surrounding cells.
For example, on the image bellow, I take a screenshot of my graph in excel (at top) and in pdf (at bottom). The red part is my graph (I've colored the background of the graph object). The graph have a black border. And just on the top of the graph, I've colored the background of a cell in blue. Normally, the graph must not overlap the blue cell, because I've manually place it bellow (cut the graph, select the cell bellow the blue one, and past the graph to this emplacement).
But we can see that:
the black border overlap the blue cell (in excel and in pdf version; but it's not really my problem; I've understand that the border in excel object is at outside the object; and then overlapp surround objects/cells).
the graph (in red + the border) has not the same place in excel and in pdf, there is a big offset (it's not a resize problem, this offset is present and the left side too). The place of the graph is more on the left and more on the top in pdf version than it can be!
(I'm using this to automatically generate reports; and the result is not visually good)
Is there any way to overcome this problem?
Hmm, I can't replicate your problem, but I've had similar issues exporting Crystal Reports to PDF. Here's 2 suggestions, neither of which is perfect and I couldn't try them first (again, sorry I couldn't replicate the problem):
Add a white row with a very small height between the graph and the cell. It might even be visually more appealing than the 2 objects one on top of the other.
Make your graph's background transparent and hide the border. Maybe add some extra white space at the top of your graph. That way, they'll still overlap, but it won't be as obvious.