Steema Issues Database

Note: 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.



Bug 1299

Summary: Drawing back image not working
Product: .NET TeeChart Reporter: narcís calvet <narcis>
Component: Xamarin.FormsAssignee: 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:

Description narcís calvet 2015-09-10 06:39:18 EDT
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);
    }
Comment 1 narcís calvet 2015-09-10 06:50:13 EDT
Happens both in iOS and Android.
Comment 2 Emmanuel 2015-11-19 10:23:57 EST
Got the same problem
Comment 3 narcís calvet 2015-11-25 06:06:47 EST
*** Bug 1295 has been marked as a duplicate of this bug. ***