D
DuffyD
I originally had poblems with my chart in owc9... so I decided to upgrade
that chart to owc11.
I am experiencing a new problem in owc11... my chart displays the correct
data and in the correct order, but for some reason, there is an extra chart
in my chartspace that has no data in it. Not exactly sure what my next move
is. Any ideas? Code listed below.
Set chtspc = Server.CreateObject("OWC11.Chartspace")
Set cht = chtspc.Charts.Add(0)
Set c = chtspc.Constants
cht.Type = c.chChartTypeLineMarkers
Set chtspc.DataSource = rs
cht.SetData c.chDimSeriesNames, 0, "ScrapCode"
for each series in cht.SeriesCollection
cht.SetData c.chDimCategories, 0, "Fiscal_Week"
cht.SetData c.chDimValues, 0, "PercentScrap"
next
that chart to owc11.
I am experiencing a new problem in owc11... my chart displays the correct
data and in the correct order, but for some reason, there is an extra chart
in my chartspace that has no data in it. Not exactly sure what my next move
is. Any ideas? Code listed below.
Set chtspc = Server.CreateObject("OWC11.Chartspace")
Set cht = chtspc.Charts.Add(0)
Set c = chtspc.Constants
cht.Type = c.chChartTypeLineMarkers
Set chtspc.DataSource = rs
cht.SetData c.chDimSeriesNames, 0, "ScrapCode"
for each series in cht.SeriesCollection
cht.SetData c.chDimCategories, 0, "Fiscal_Week"
cht.SetData c.chDimValues, 0, "PercentScrap"
next