Area Series - How to load image programatically ?
Posted: Fri Apr 13, 2007 3:08 pm
Hello
I am facing problem with area chart. I want to fill area with specified image. I know it is possible by using TeeChart editor, by specifying image in 'Pattern'. But my problem is, how can I do it programatically ? I wrote following code but it doesn't work.
TChart1.Series(0).FillSampleValues 100
TChart1.Series(0).asArea.Brush.LoadImage "C:\AnyFile.bmp"
Please help me on this as it's very urgent for us.
I am facing problem with area chart. I want to fill area with specified image. I know it is possible by using TeeChart editor, by specifying image in 'Pattern'. But my problem is, how can I do it programatically ? I wrote following code but it doesn't work.
TChart1.Series(0).FillSampleValues 100
TChart1.Series(0).asArea.Brush.LoadImage "C:\AnyFile.bmp"
Please help me on this as it's very urgent for us.