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
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