Color of serie

A

Andrew Ofthesong

Hi.. i have (OWC10) this code:

CSpace.Charts(0).Type = C.chChartTypeSmoothLine

For Each x In CSpace.Charts(0).SeriesCollection
x.Interior.Color = "blue"
x.Border.Color = "blue"
Next x

But i see no change.... I can, however, change the color of columnbars with:
CSpace.Charts(0).SeriesCollection(0).Interior.SetOneColorGradient
c.chGradientVertical, c.chGradientVariantCenter, 0.9, "blue"

so, if the 2nd one is working, why the first one no?

Thanks!
 

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