Chart/Graph Control

J

John

i have a form that has a chart control on it. i want to
be able to pass variable names into the data array that
acts as the data source for the chart. i'm using the
syntax:
dim arrData(2, 1 to 4)
arrData(1,1)= varName
arrData(2,1)= varName
Graph15 = arrData

i put this code behind the chart control's updated event.
when i loaded the form, the graph was blank. i know that
the variables have been declared correctly and are
recognized globally, so i'm pretty sure it's something
else. should i put this code under Form_Load or some
other event?? please help.
thanx in advance,
john g
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top