How to display Image in Annotation Tool at Runtime - Urgent
Posted: Wed Aug 03, 2005 6:30 am
Hi
I am using TeeChart ActiveX ver 6.0.6 in my application. I am facing one problem since a month. I want to display image in annotation tool.
I can do it at design time or at runtime using chart editor by changing property Format -> Pattern -> Select Image. But at runtime there is no such propert available to annotation tool. Earlier I have raised same problem and the answer I got was to achieve this by using following statement
.asAnnotation.CallOut.Brush.LoadImage
This did not resolve my problem as it shows image in callout object not in main annotation tool object. I have tried to move callout object on the top of annotation tool object but second problem arose. All other annotation objects created after this annotation tool object are displaying image.
Is there any other way to display multiple images in chart without using annotation tool ? Also please tell me why teechart doesn't allow displaying image in main annotation tool object and why it allows to do it at design time or by using editor ? I don't want to use callout object as it doesnot solves my problem.
Please help me as I am stuck up for only this problem and I have to complete it soon.
Thanks
Nitin
I am using TeeChart ActiveX ver 6.0.6 in my application. I am facing one problem since a month. I want to display image in annotation tool.
I can do it at design time or at runtime using chart editor by changing property Format -> Pattern -> Select Image. But at runtime there is no such propert available to annotation tool. Earlier I have raised same problem and the answer I got was to achieve this by using following statement
.asAnnotation.CallOut.Brush.LoadImage
This did not resolve my problem as it shows image in callout object not in main annotation tool object. I have tried to move callout object on the top of annotation tool object but second problem arose. All other annotation objects created after this annotation tool object are displaying image.
Is there any other way to display multiple images in chart without using annotation tool ? Also please tell me why teechart doesn't allow displaying image in main annotation tool object and why it allows to do it at design time or by using editor ? I don't want to use callout object as it doesnot solves my problem.
Please help me as I am stuck up for only this problem and I have to complete it soon.
Thanks
Nitin