![]() | Steema Issues DatabaseNote: This database is for bugs and wishes only. For technical support help, if you are a customer please visit our online forums;otherwise you can use StackOverflow. Before using this bug-tracker we recommend a look at this document, Steema Bug Fixing Policy. |
| Summary: | Trying to draw image using stretched as image mode does not work fine in Xamarin.Forms | ||
|---|---|---|---|
| Product: | .NET TeeChart | Reporter: | pep jorge <pep> |
| Component: | Xamarin.Forms | Assignee: | Steema Issue Manager <issuemanager> |
| Status: | CONFIRMED --- | ||
| Severity: | normal | ||
| Priority: | --- | ||
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows | ||
| Chart Series: | --- | Delphi / C++ Builder RAD IDE Version: | |
public ImageSource ImageSource { get; set; } private void Chart_AfterDraw(object sender, Steema.TeeChart.Drawing.Graphics3D g) { var img = new Image() { Source = ImageSource }; var xpos = g.ChartXCenter - (CircularGauge.XRadius / 2); var ypos = g.ChartYCenter; // WORKING g.Draw(xpos, ypos, img); // NOT WORKING //g.Draw(new Rectangle(xpos, ypos, 12, 12), img, Steema.TeeChart.Drawing.ImageMode.Stretch, false); } Related forums post : http://support.steema.com/posting.php?mode=reply&f=4&t=17465&sid=c9415ed0a2f7aac7e34f087711112c82