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.
Area Series - How to load image programatically ?
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Nitin,
That property should be something like this:
However, this property has been forgotten and we will include it in v7.0.14, which we expect to be ready during this week. Please be aware at this forum for new release announcements.
That property should be something like this:
Code: Select all
TChart1.Series(0).asArea.AreaChartBrush.Image.LoadFromFile(filename);
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |