Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 1
Default Using the full width of an Excel chart with two Y-axes

I am trying to create a line chart in Excel 2007 with two data series, each
with their own Y-axis.

First, I create a simple chart by selecting the two data series, and
choosing [Insert Charts Line] from the Ribbon. I now see the following
chart in my workbook: http://i41.tinypic.com/343jfdk.png

I then continue my quest by right clicking one of the data series (lines)
and choosing [Format data series Series Options Secondary Axis]. My chart
is now looks like this: http://i40.tinypic.com/8wy3wg.png

This is almost what I want. I did not expect to see the gap between the last
X-axis tick point (x = 5) and the secondary (right most) Y-axis. Why does
Excel introduce this gap?

Is there anything I can do to avoid it? I have tried right clicking the
X-axis and seleting [Format Axis Axis Options Position Axis: Between tick
marks], but that only introduces a similar gap on by the primary (left most)
Y-axis.

The following data is sufficient for me to reproduce the problem. Paste it
into Excel, select the block of numbers and create a line chart. It will not
draw the exact same lines as above, but it will illustrate the problem with
the right side "padding".

1 2 4 8 16
100 210 440 900 2000

I hope someone is able to help. Thanks in advance!

/Jørn Schou-Rode
  #2   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 563
Default Using the full width of an Excel chart with two Y-axes

Try with an XY chart -you can set min/max values fro x-axis
best wishes
--
Bernard Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme

"Joern Schou-Rode" wrote in
message ...
I am trying to create a line chart in Excel 2007 with two data series,
each
with their own Y-axis.

First, I create a simple chart by selecting the two data series, and
choosing [Insert Charts Line] from the Ribbon. I now see the following
chart in my workbook: http://i41.tinypic.com/343jfdk.png

I then continue my quest by right clicking one of the data series (lines)
and choosing [Format data series Series Options Secondary Axis]. My
chart
is now looks like this: http://i40.tinypic.com/8wy3wg.png

This is almost what I want. I did not expect to see the gap between the
last
X-axis tick point (x = 5) and the secondary (right most) Y-axis. Why does
Excel introduce this gap?

Is there anything I can do to avoid it? I have tried right clicking the
X-axis and seleting [Format Axis Axis Options Position Axis: Between
tick
marks], but that only introduces a similar gap on by the primary (left
most)
Y-axis.

The following data is sufficient for me to reproduce the problem. Paste it
into Excel, select the block of numbers and create a line chart. It will
not
draw the exact same lines as above, but it will illustrate the problem
with
the right side "padding".

1 2 4 8 16
100 210 440 900 2000

I hope someone is able to help. Thanks in advance!

/Jørn Schou-Rode


  #3   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 461
Default Using the full width of an Excel chart with two Y-axes

You need to add a secondary horizontal axis, and format it so the axis
crosses on the tick marks. You can then delete this axis if you don't
need to see it.

(Excel 2003 didn't need to do this, because its primary and secondary
axes played nicely together.)

- Jon
-------
Jon Peltier
Peltier Technical Services, Inc.
http://peltiertech.com/


On 4/10/2010 4:49 AM, Joern Schou-Rode wrote:
I am trying to create a line chart in Excel 2007 with two data series, each
with their own Y-axis.

First, I create a simple chart by selecting the two data series, and
choosing [Insert Charts Line] from the Ribbon. I now see the following
chart in my workbook: http://i41.tinypic.com/343jfdk.png

I then continue my quest by right clicking one of the data series (lines)
and choosing [Format data series Series Options Secondary Axis]. My chart
is now looks like this: http://i40.tinypic.com/8wy3wg.png

This is almost what I want. I did not expect to see the gap between the last
X-axis tick point (x = 5) and the secondary (right most) Y-axis. Why does
Excel introduce this gap?

Is there anything I can do to avoid it? I have tried right clicking the
X-axis and seleting [Format Axis Axis Options Position Axis: Between tick
marks], but that only introduces a similar gap on by the primary (left most)
Y-axis.

The following data is sufficient for me to reproduce the problem. Paste it
into Excel, select the block of numbers and create a line chart. It will not
draw the exact same lines as above, but it will illustrate the problem with
the right side "padding".

1 2 4 8 16
100 210 440 900 2000

I hope someone is able to help. Thanks in advance!

/Jørn Schou-Rode

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
two value axes in an excel line chart neural_jam Charts and Charting in Excel 1 November 22nd 09 05:37 AM
Concvert Full Width Katakana characters into Half Width Katakana C Mandeep Dhami Excel Discussion (Misc queries) 0 November 30th 07 06:47 AM
How can I control the full screen display width ? Al B Excel Discussion (Misc queries) 0 March 10th 07 07:53 PM
ASC() does not convert full-width to half-width letters (Exel 2003 DY Excel Worksheet Functions 0 January 27th 07 01:34 PM
My sheets keep growing larger full width and length How do I cont. Sol42 Excel Discussion (Misc queries) 3 April 5th 05 07:55 AM


All times are GMT +1. The time now is 01:44 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"