473,383 Members | 1,818 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,383 software developers and data experts.

Add points to an existing xy chart

I made an embedded xy chart with ChartWizard on Excel and would now like to modify the graph with VisualBasic. I would like to plot a set of xy points individually (not all at once) so that the viewer can see a pattern traced out on the screen. The xy data are in columns on the worksheet.

I am a novice VB programmer. I got a 1004 runtime error when I tried to activate the chart. Will I need a series formula? Should the x and y values be indexed so that they can be plotted one at a time?

The purpose of the chart is to show orbital motion (planets, satellites, etc.) I am a science teacher. I would appreciate any help you can give me. Thanks.
Aug 13 '08 #1
1 1728
A chart on a worksheet is containied in a ChartObject.
So if there is only one chart on the worksheet then the chart could be identifed using...
Worksheets("Sheet1").ChartObjects(1).Chart

One possible way to display the series incrementally is to create the chart using all of the points, but make all of the points invisible by using no line or marker for them .
Then add the line and marker, when needed, for each point.

In XL2007, Microsoft changed/eliminated/added a lot of chart properties (some of which don't work), so if you have that version, my condolences.
Aug 14 '08 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Brian Shade | last post by:
Hi all. I am having a bit of a problem with my Perl script and the creation of a chart. I can create the chart and create a new SeriesCollection. I then specify the XValues and the Values parameter...
8
by: Prabhakar | last post by:
Friends, I have been migrating ASP applications from IIS4.0/NT4.0 to IIS5.0/W2K. All the applications working perfectly except one. This particular application will make use of asp chart object....
2
by: Wayne | last post by:
How does Access determine how many data points it will use in a chart and is there any way of forcing it to use more data points? My Access chart is only showing 7 data points of the 100+ that are...
12
by: erikcw | last post by:
Hi all, I have a collection of ordered numerical data in a list. The numbers when plotted on a line chart make a low-high-low-high-high-low (random) pattern. I need an algorithm to extract the...
0
by: apple27 | last post by:
Hi, Appreciate your guys help.. Im a newbie in OWC.Trying to search for OWC objects to complete a few charts. Still having difficulty on this :- My questions: 1. I need to come out with a...
0
by: rudevincy | last post by:
Hello, I have a chart in excel that I am working on. I have four data points on a line chart. I would like to change the data points into arrows that point to the next data point. In order to do...
8
by: Elfae | last post by:
I have searched high and low for a sample for this, and I just can't find any. Sorry for the length! Background Information The issue revolves around setting up a system-generated increase in...
0
by: fnzeee | last post by:
I have a table of data with the following fields: Resource Name 1, Start Date 1, End Date 1, % Allocated 1, Resource Name 2, Start Date 2, End Date 2, % Allocated 2, Resource Name 3, Start Date...
1
by: cubekid | last post by:
I am using OWC 11 in my new web application for displaying charts. Is it possible in OWC 11 to combine and display a column and a line graph (Looking like they overlap each other)? I tried it using...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.