A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Charts and Charting
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Auto expanding X Axis for Chart



 
 
Thread Tools Display Modes
  #1  
Old March 7th, 2010, 11:02 PM posted to microsoft.public.excel.charting
Corey[_4_]
external usenet poster
 
Posts: 8
Default Auto expanding X Axis for Chart

I have a chart setup, currently with reference to 31 cells width.

The chart looks great if the user places a value in each of the 31 cells,
however if there are only say 20 values placed across the cell row, the
chart is displayed over to one side, with nil values displayed where no dat
values were entered.

Is there a way to have the chart automatically vary the width depending on
the amount of values entered across the refernced row of cells?

If there was only 20 values entered, then the chart would show 1-20 charted
and leave out the 21-31.


Corey....


  #2  
Old March 8th, 2010, 05:12 AM posted to microsoft.public.excel.charting
trip_to_tokyo[_3_]
external usenet poster
 
Posts: 932
Default Auto expanding X Axis for Chart

EXCEL 2007

Hi Corey take a look at:-

http://www.pierrefondes.com/

- item number 72.

This is a similar problem.

You don't say what's on the X axis so I am nut sure whether or not this
example will help.

In the example I have given the X axis was set to:-

Text axis

- and this removed the Sundays from the data shown on the graph.

If my comments have helped please hit Yes.

Thanks.



"Corey" wrote:

I have a chart setup, currently with reference to 31 cells width.

The chart looks great if the user places a value in each of the 31 cells,
however if there are only say 20 values placed across the cell row, the
chart is displayed over to one side, with nil values displayed where no dat
values were entered.

Is there a way to have the chart automatically vary the width depending on
the amount of values entered across the refernced row of cells?

If there was only 20 values entered, then the chart would show 1-20 charted
and leave out the 21-31.


Corey....


.

  #3  
Old March 8th, 2010, 10:17 AM posted to microsoft.public.excel.charting
Simeon
external usenet poster
 
Posts: 2
Default Auto expanding X Axis for Chart

What you need is dynamic range if I understand your problem right. Name
your data range as a dynamic range , and in the series of the chart put
the range name. Google how to do dynamic range, I don't remember on the
top of my head any website, but basically is done *RangeName *
*=Offset($A$1, 0,0, Counta(A:A), Counta($1:$1)*) ,then in chart data
series you put =sheet1!RangeName
Of course this needs to be customized for your particular range. If done
right, it'll chart only the cells with data, leaving the blank cells.
Hope that will give you the right direction.
Again try googling it - there is tons of websites explaining this
technique

Sam

PS. To Trip_to_tokio - noob question, but I am using mozila thunderbird
client, where do you hit yes?!

On 3/7/2010 9:12 PM, trip_to_tokyo wrote:
EXCEL 2007

Hi Corey take a look at:-

http://www.pierrefondes.com/

- item number 72.

This is a similar problem.

You don't say what's on the X axis so I am nut sure whether or not this
example will help.

In the example I have given the X axis was set to:-

Text axis

- and this removed the Sundays from the data shown on the graph.

If my comments have helped please hit Yes.

Thanks.



"Corey" wrote:


I have a chart setup, currently with reference to 31 cells width.

The chart looks great if the user places a value in each of the 31 cells,
however if there are only say 20 values placed across the cell row, the
chart is displayed over to one side, with nil values displayed where no dat
values were entered.

Is there a way to have the chart automatically vary the width depending on
the amount of values entered across the refernced row of cells?

If there was only 20 values entered, then the chart would show 1-20 charted
and leave out the 21-31.


Corey....


.



  #4  
Old March 9th, 2010, 02:56 PM posted to microsoft.public.excel.charting
Jon Peltier[_2_]
external usenet poster
 
Posts: 386
Default Auto expanding X Axis for Chart

PS. To Trip_to_tokio - noob question, but I am using mozila
thunderbird client, where do you hit yes?!


Ignore this, it's only relevant to users of the wonderful Microsoft web
interface to the newsgroups.

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


On 3/8/2010 5:17 AM, Simeon wrote:
What you need is dynamic range if I understand your problem right. Name
your data range as a dynamic range , and in the series of the chart put
the range name. Google how to do dynamic range, I don't remember on the
top of my head any website, but basically is done *RangeName *
*=Offset($A$1, 0,0, Counta(A:A), Counta($1:$1)*) ,then in chart data
series you put =sheet1!RangeName
Of course this needs to be customized for your particular range. If done
right, it'll chart only the cells with data, leaving the blank cells.
Hope that will give you the right direction.
Again try googling it - there is tons of websites explaining this
technique

Sam


On 3/7/2010 9:12 PM, trip_to_tokyo wrote:
EXCEL 2007

Hi Corey take a look at:-

http://www.pierrefondes.com/

- item number 72.

This is a similar problem.

You don't say what's on the X axis so I am nut sure whether or not this
example will help.

In the example I have given the X axis was set to:-

Text axis

- and this removed the Sundays from the data shown on the graph.

If my comments have helped please hit Yes.

Thanks.



"Corey" wrote:


I have a chart setup, currently with reference to 31 cells width.

The chart looks great if the user places a value in each of the 31 cells,
however if there are only say 20 values placed across the cell row, the
chart is displayed over to one side, with nil values displayed where no dat
values were entered.

Is there a way to have the chart automatically vary the width depending on
the amount of values entered across the refernced row of cells?

If there was only 20 values entered, then the chart would show 1-20 charted
and leave out the 21-31.


Corey....


.


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 02:49 PM.


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