![]() | 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: | Drawing back image not working | ||
|---|---|---|---|
| Product: | .NET TeeChart | Reporter: | narcís calvet <narcis> |
| Component: | Xamarin.Forms | Assignee: | Steema Issue Manager <issuemanager> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | emmanuel.vanmeerbeeck |
| Priority: | High | ||
| Version: | TeeChart.NET 2014 4.1.2014.12154 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows | ||
| URL: | http://stackoverflow.com/questions/32480052/xamarin-forms-teechart-draw-image | ||
| Chart Series: | --- | Delphi / C++ Builder RAD IDE Version: | |
Happens both in iOS and Android. Got the same problem |
It doesn't work either assigning an image to the back wall or panel: var backImage = new Image(); backImage.Source = ImageSource.FromUri(new Uri("http://www.steema.com/uploads/news/xamarinforms_280x210.png")); tChart1.Walls.Back.Gradient.Visible = false; tChart1.Walls.Back.Image = backImage; tChart1.Panel.Gradient.Visible = false; tChart1.Panel.Image = backImage; nor drawing it directly on the canvas: void tChart1_BeforeDrawSeries(object sender, Graphics3D g) { Rectangle chartRect = tChart1.Chart.ChartRect; var backImage = new Image(); backImage.Source = ImageSource.FromUri(new Uri("http://www.steema.com/uploads/news/xamarinforms_280x210.png")); g.Draw(chartRect, chartRect, backImage, false); }