PC Review


Reply
Thread Tools Rate Thread

Custom x axis labels

 
 
morlo
Guest
Posts: n/a
 
      21st Jul 2009
I am plotting a chart showing monthly index yields.

My first date is 29th May 1981 and the last 30th June 2009. My x-axis
currently has two yearly spaced dates showing (ie 29th May 1981, 83, 85
etc...) but I really want it to be labelled 29th May 1981 then 31st December
1982, 31st December 1984 and so on...to 31st December 2008.

How can I achieve this? Am happy to add the first one manually but I really
want all of the December ones to be the general default.

Thanks

Rachel
 
Reply With Quote
 
 
 
 
OssieMac
Guest
Posts: n/a
 
      22nd Jul 2009
Not sure if I really understand your question. Do you mean that the chart is
inserting extra intermediate dates. If so, this is a problem with charts and
the work around is to make the dates text at the source. (place a single
leading quote before the date.)

If this is not the problem, then post a sample of your data containing the
dates and mark which ones you want on the chart.

--
Regards,

OssieMac


"morlo" wrote:

> I am plotting a chart showing monthly index yields.
>
> My first date is 29th May 1981 and the last 30th June 2009. My x-axis
> currently has two yearly spaced dates showing (ie 29th May 1981, 83, 85
> etc...) but I really want it to be labelled 29th May 1981 then 31st December
> 1982, 31st December 1984 and so on...to 31st December 2008.
>
> How can I achieve this? Am happy to add the first one manually but I really
> want all of the December ones to be the general default.
>
> Thanks
>
> Rachel

 
Reply With Quote
 
Jon Peltier
Guest
Posts: n/a
 
      23rd Jul 2009
It's not a problem with charts, it's just that Excel saw dates and
provided a date-scale axis, which is like a value axis in that all dates
between min and max are represented.

You don't need to break the dates in the sheet to get around this, only
turn the axis into a category type, which will treat the dates as
nonnumeric labels. In 2003 and earlier, go to Chart menu > Chart Options
> Axes tab, and under Category axis, change from Auto to Time Scale. In

2007, right click on the axis, choose Format Axis, and on the main tab,
about halfway down find the option for Text Axis and select it.

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



OssieMac wrote:
> Not sure if I really understand your question. Do you mean that the chart is
> inserting extra intermediate dates. If so, this is a problem with charts and
> the work around is to make the dates text at the source. (place a single
> leading quote before the date.)
>
> If this is not the problem, then post a sample of your data containing the
> dates and mark which ones you want on the chart.
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Adding custom x axis labels to histogram generated from a pivot table Mahurshi Akilla Microsoft Excel Worksheet Functions 1 18th Jul 2010 09:15 PM
xy-scatter-labels disappear when x-axis is changed into time-axis (XL07) Holger Gerths Microsoft Excel Charting 8 5th Jun 2008 04:25 PM
XL 2003: Replacing X-Axis Labels with Custom Ones... =?Utf-8?B?QmlybWFuZ2lybA==?= Microsoft Excel Charting 1 7th Dec 2005 04:09 AM
Custom X-axis Labels =?Utf-8?B?UGhpbCBIYWdlbWFu?= Microsoft Excel Charting 1 24th Sep 2005 02:43 AM
Custom value Axis tick-mark labels Scott Microsoft Excel Charting 1 20th Feb 2004 03:30 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:06 AM.