Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default programaticaly select YY and XX values and Chart

Hi,
I have two colums with data and I want to create a chart programaticaly with
those values.
Excel_ChartWizard interprets the two colums as two series, but one of the
colums has my XX values.
How do I do it?
Apreciate all the help.
Regards,

Daniel Coelho
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default programaticaly select YY and XX values and Chart

You were right, I missed what you wrote about the order of x and y.
I placed first the x values and on the chartwizard function I chose columm,
instead of rows, and the chart apeared OK.
The macro option could be a great solution too.
Thanks for your help and time.
Regards,

Daniel Coelho

"Peter T" wrote:

I guess you missed what I said about the order of x & y values the chart
wizard expects.

Try recording a macro while using the chart wizard to create your chart.
Because you've got Values in the left column, start with only the series
y-values selected, then in the wizard go on to apply the x-values.

The macro will give the basic syntax, all the selects and activates can be
edited out.

Regards,
Peter T


"Daniel Coelho" wrote in message
...
Here's an example:
| Values | |
| 1 | 9:00 |
| 2 | 9:01 |
| 3 | 9:02 |

I used a range A1:B4, the same problem happens, the chart apears weird
because it tries to place them as two series...

I tried to change the header above the first collumm and include that cell
too but the problem remains...

Any more hints?

"Peter T" wrote:

Put a header in the cell above the second column. Include the header cell
above what will become the first series and the empty cell above the
first
column (x-values) in the data range. The contents of that header cell
will
be used to name the series.

If your columns are not arranged in order x-values, series-1, series-2
etc
there will be a little more work to do.

Regards,
Peter T


"Daniel Coelho" <Daniel wrote in
message
...
Hi,
I have two colums with data and I want to create a chart programaticaly
with
those values.
Excel_ChartWizard interprets the two colums as two series, but one of
the
colums has my XX values.
How do I do it?
Apreciate all the help.
Regards,

Daniel Coelho






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
In Office 2007 can't see chart series values unless chart unprotec Carl Charts and Charting in Excel 0 October 28th 09 03:31 AM
Huge differences in chart values screws my bar chart scale up. Sirritys Charts and Charting in Excel 2 June 13th 06 10:33 AM
Programaticaly update webquery - help Paul Excel Programming 0 January 26th 05 10:07 PM
Programaticaly update webquery - help Paul Excel Programming 1 January 26th 05 09:03 PM
Read excel data programaticaly in C/C++ William Mischel Excel Programming 1 August 31st 04 01:16 PM


All times are GMT +1. The time now is 03:53 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"