Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.charting
 
Posts: n/a
Default text label in x-axis (scatter chart)

I'd like to create a scatter chart but force all the data points into
one column for each series (as poorly illustrated below if viewed using
fixed font).

x x
x
x x

x
x x


x


Series A Series B


There are a few issues I'm trying to work around. First, scatter
plots seem to require a numeric value. If I have text in the first
column of data, then the chart will spread the data points
horizontally. If I create a numeric "label" in the first column, I
at least get the visual effect I'm looking for but then I have to
manually create a text box with the series name below each series.
This is tedious since I'd like to plot lots of series and would like
to eventually automate chart creation via a macro. I can't find any
way to have a text label in the x-axis that references a cell from the
worksheet.

Stock charts get me pretty close but I really want to display all data
points as discrete points on the chart.

Any ideas? Any help is much appreciated,
Andy

  #2   Report Post  
Posted to microsoft.public.excel.charting
Andy Pope
 
Posts: n/a
Default text label in x-axis (scatter chart)

Hi,

You could tackle this in two ways, you will have to decide which best
suits you.

Use the XY scatter, plotting just the x and y values, so you get the
layout required. Then use either of these free add-ins to link data
labels with the text in the cells.

Rob Bovey's Chart Labeler
http://appspro.com

Or John Walkenbach's Chart Tools
http://j-walk.com

Or with your data laid out like so,
B1: =Series1 C1: =Series2
A2: =Label1 B2: =3 C2: =4
A3: =Label2 B3: =5 C3: =2
A4: =Label3 B4: =2 C4: =6

Create a line chart with data plotted by Rows. This will give you the 2
columns with each series consisting of 2 points. You will need to format
each series to have a Line of none. You can change 1 series and then use
the F4 button to repeat the changes to the currently selected item.

Cheers
Andy


wrote:
I'd like to create a scatter chart but force all the data points into
one column for each series (as poorly illustrated below if viewed using
fixed font).

x x
x
x x

x
x x


x


Series A Series B


There are a few issues I'm trying to work around. First, scatter
plots seem to require a numeric value. If I have text in the first
column of data, then the chart will spread the data points
horizontally. If I create a numeric "label" in the first column, I
at least get the visual effect I'm looking for but then I have to
manually create a text box with the series name below each series.
This is tedious since I'd like to plot lots of series and would like
to eventually automate chart creation via a macro. I can't find any
way to have a text label in the x-axis that references a cell from the
worksheet.

Stock charts get me pretty close but I really want to display all data
points as discrete points on the chart.

Any ideas? Any help is much appreciated,
Andy


--

Andy Pope, Microsoft MVP - Excel
http://www.andypope.info
  #3   Report Post  
Posted to microsoft.public.excel.charting
Andy
 
Posts: n/a
Default text label in x-axis (scatter chart)

The second method gets me closer to what I'd like to do. Thanks! Now
all I have to do is write a simple macro to format all the series
identically and I'll be even closer.

Andy Pope wrote:
Hi,

You could tackle this in two ways, you will have to decide which best
suits you.

Use the XY scatter, plotting just the x and y values, so you get the
layout required. Then use either of these free add-ins to link data
labels with the text in the cells.

Rob Bovey's Chart Labeler
http://appspro.com

Or John Walkenbach's Chart Tools
http://j-walk.com

Or with your data laid out like so,
B1: =Series1 C1: =Series2
A2: =Label1 B2: =3 C2: =4
A3: =Label2 B3: =5 C3: =2
A4: =Label3 B4: =2 C4: =6

Create a line chart with data plotted by Rows. This will give you the 2
columns with each series consisting of 2 points. You will need to format
each series to have a Line of none. You can change 1 series and then use
the F4 button to repeat the changes to the currently selected item.

Cheers
Andy


wrote:
I'd like to create a scatter chart but force all the data points into
one column for each series (as poorly illustrated below if viewed using
fixed font).

x x
x
x x

x
x x


x


Series A Series B


There are a few issues I'm trying to work around. First, scatter
plots seem to require a numeric value. If I have text in the first
column of data, then the chart will spread the data points
horizontally. If I create a numeric "label" in the first column, I
at least get the visual effect I'm looking for but then I have to
manually create a text box with the series name below each series.
This is tedious since I'd like to plot lots of series and would like
to eventually automate chart creation via a macro. I can't find any
way to have a text label in the x-axis that references a cell from the
worksheet.

Stock charts get me pretty close but I really want to display all data
points as discrete points on the chart.

Any ideas? Any help is much appreciated,
Andy


--

Andy Pope, Microsoft MVP - Excel
http://www.andypope.info


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
Adding a certain text label in a excel chart Tim Charts and Charting in Excel 2 September 28th 05 08:03 PM
In Excel how do I label the axis of a chart with 2 sets of labels Alan Charts and Charting in Excel 2 June 13th 05 03:05 PM
Scatter chart x axis tick mark lables so Charts and Charting in Excel 2 December 2nd 04 05:06 AM
the dates to label the x axis on the scatter chart won't print waterlady Charts and Charting in Excel 0 November 29th 04 06:44 PM
Why do my text boxes disappear from my chart when I click out? Robboo Charts and Charting in Excel 1 November 27th 04 05:49 PM


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

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

About Us

"It's about Microsoft Excel"