PlotArea Background

H

H.Paul

I got a Codesnip the looks like that :

chsp.Charts(0).PlotArea.Interior.SetTwoColorGradient
c.chGradientDiagonalDown, _
c.chGradientVariantCenter, RGB(55,104,255), "White"

It is possible to get an Jpg, Gif or something into Background instead of
the Two Color Gradient? I'm using OWC11

Thx.
H.Paul (Germany)
 
R

RayTheOtherRay

H. Paul,

Try the SetTextured() method of the chInterior object. Here is the
syntax from the help file...

expression.SetTextured(textureFile, TextureFormat, stackUnit,
TexturePlacement)

I haven't used texture files, myself, but this does afford the way to
specify a filename for the background of the interior.

Hope this helps!
Ray <><
 
O

ocguy2004

Does this method work with older versions of OWC...I think I'm using OWC9 or
10 (how can I tell?)

thanks!
Chris
 
H

H.Paul

I have found out that:

..Interior.SetTextured ("C:\---LocalServerPath---\image1.jpg")

it is functional.
 
R

RayTheOtherRay

Hi Chris!

I only have the object model and help file for OWC11. That resource
was passed along to me by a coworker. I'm not sure where to find the
object models for the other versions. You might check the MS site for
that. I have found the OWC11 version to be very helpful.

Hope this helps!
Ray <><
 

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