Page 1 of 1

Annotation tool with image

Posted: Thu Nov 19, 2015 10:02 am
by 18376849
Hey,

I am trying to show an image in an annotation, in Xamarin Forms. I already tried a lot of different things and i can't get it to show the image... Does anyone have a solution?

Here is what I've tried so far...

Code: Select all

 var annotation = new Steema.TeeChart.Tools.Annotation(c);          
           var image = new Image();
           image.Source = "Home-Orange.png";
           annotation.Shape.Image = image;
           c.Tools.Add(annotation);
I also tried with annotation.Shape.Brush.Image, and annotation.Callout.Brush.Image, and also tried the same with the rectangle tool, but all to no avail...

In the attachment is a screenshot of what I've got so far... As you can see, it's just a white box that shows :)

Thanks in advance,

Re: Annotation tool with image

Posted: Tue Nov 24, 2015 7:51 am
by 18276989
Hello,

I think this may be related to my problem which is described here:

http://stackoverflow.com/questions/3248 ... draw-image

The bug is here:

http://bugs.teechart.net/show_bug.cgi?id=1299

The status is IN_PROGRESS, so I guess the dev team is fixing it right now. :)

Re: Annotation tool with image

Posted: Tue Nov 24, 2015 8:17 am
by narcis
Hello everyone,
IliaStoilov wrote: The status is IN_PROGRESS, so I guess the dev team is fixing it right now. :)
Yes, we are currently worknig on it. I'll let you know when we have some news.

Re: Annotation tool with image

Posted: Tue Nov 24, 2015 8:37 am
by 18376849
Hi,

Thanks for the reply.

But is there a timeframe for when this will be solved or is there a work around for it? Because I really need this to be solved soon.
Currently we just place the image above the graph and calculate the X value of it, but this is not what we want.

Thanks!

Re: Annotation tool with image

Posted: Wed Nov 25, 2015 3:42 pm
by narcis
Hello,

Just sent you an email with the URL to download a new installer. This issue has been fixed in iOS and is not completely solved for Android, we are still working on it.