Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 109
  • Last Modified:

Change bar graph -

Hi,

I have a line graph plotted on a secondary axis

Can someone change the graph so that its a column graph that doesnt look really disproportiante

Thanks
EE.xlsx
0
Seamus2626
Asked:
Seamus2626
2 Solutions
 
Haris DjulicCommented:
Is this what you are looking?
EE.xlsx
0
 
Seamus2626Author Commented:
Nope, i need the values to look more pronounced, not so small

Thanks
0
 
Ingeborg Hawighorst (Microsoft MVP / EE MVE)Microsoft MVP ExcelCommented:
Hello Seamus,

it would really help if you could describe in more detail what kind of chart you want. Use the drawing tools and mock up the chart. Then we know what to aim for and can tell you how to do it.

It's really hard to guess the desired outcome, so, please help us help you.

cheers, teylyn
0
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
Seamus2626Author Commented:
So, you can see where i added the blue box to the chart, i would like a big label in that saying 1.28% and the bar next to it saying 27.89% and then i could colour the Y axis white & the graph would be much more presentable

Thanks
EE.xlsx
0
 
Ingeborg Hawighorst (Microsoft MVP / EE MVE)Microsoft MVP ExcelCommented:
Add two data series to the chart, one on the primary and one on the secondary axis. They need to have as many data points as the main series, and all values can be zero or empty. Then arrange them in this order:

chartPadding.png
Delete the padding series from the legend.

cheers, teylyn
0
 
Glenn RayExcel VBA DeveloperCommented:
Here is an example file with the charting as teylyn instructed.

It's tricky to get the padding series correct; I recommend using the same range for both padding series (in this case, F6:F10) and temporarily adding small values (ex., 0.5) in it so you can see both series and then apply them correctly to the proper axes.  Then remove the values and the labels in the legend.

Two more changes I recommend:
1) Color the font of each axis to match the fill color of the bars so that there is a visual connection between the two.
2) Ensure that the number of major units in each axis is the same so that you can have one set of horizontal unit lines that work for both scales.  The number of units is:
(Maximum axis value) - (Minimum axis value)  / (Major Unit value)

In this example, it worked out perfectly that - even with the two series autoscaled - the number of units was seven (7) for both.  However, if you leave the auto settings on, this may not work out.  Better to set Fixed values for both axes just in case.
two-axis format suggestions
-Glenn
EE-two-axis-BarChart.xlsx
0
 
Seamus2626Author Commented:
Thanks guys!
0
 
Jon_PeltierExcel DeveloperCommented:
The only problem with this solution is that most people will not get the dual axes at first, even with different color labels. Some won't really get it any time. Interleaving of columns that link to opposite axis scales is a sure way to make the chart hard to understand.

The clearest thing to do here is make a panel chart or use two separate charts, one above the other. Here is a quick tutorial showing how to make a panel chart with similar data:

Easy Two-Panel Column Chart in Excel
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now