OWC Chart types

C

Calum

Hi,

I'm having great problems trying to make the mental leap
from the examples on teh web and in the book (Programming
Office 2000 Web Components, Dave Stearns) and my real
world example...

I simply want to create a chart that measures power
against current, (i.e. the power - y axis - developed at
certain current levels - x axis) with the data coming from
an Access db. I can get the samples working OK, reading
the data correctly but when I try to adapt them to my own
style, it falls over. I think it is a line graph I want,
but again, I'm not sure.

here's my code:

objChart.SetData c.chDimSeriesNames, 0, "power"
for each objSeries in objChart.SeriesCollection
objSeries.SetData c.chDimCategories, 0, "current"
objSeries.SetData c.chDimValues, 0, "power"
next

Can anyone please help?

thanks

Calum
 

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