![]() | 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: | HorizLine shows over axis after scroll in iOS | ||
|---|---|---|---|
| Product: | .NET TeeChart | Reporter: | Bill <bill2004158> |
| Component: | iOS | Assignee: | Steema Issue Manager <issuemanager> |
| Status: | RESOLVED FIXED | ||
| Severity: | enhancement | CC: | bill2004158, pep, sandra |
| Priority: | --- | ||
| Version: | TeeChart for .Net 4.1.2016.05125 | ||
| Target Milestone: | --- | ||
| Hardware: | Phone | ||
| OS: | iOS | ||
| Chart Series: | --- | Delphi / C++ Builder RAD IDE Version: | |
| Attachments: | HorizLine shows over axis | ||
tested version: 4.0.2016.11220 similar problem:
public override void ClipEllipse (Xamarin.Forms.Rectangle r)
{
this.g.SaveState();
this.g.ClipToRect(new RectangleF((float)r.X, (float)r.Y, (float)r.Width, (float)r.Height));
this.g.RestoreState();
}
it seems fixed in version 4.0.2017.27030
which code is:
public override void ClipRectangle(Rectangle r)
{
this.g.SaveState();
this.g.ClipToRect(new RectangleF((float) r.X, (float) r.Y, (float) r.Width, (float) r.Height));
}
no restore!
Hello Bill, Thanks for the information. I have checked it again and seems fixed for build 4.1.2018.01040 Thanks in advance |
Created attachment 763 [details] HorizLine shows over axis xamarin.forms app with teechart in iOS, after scroll the HorizLine, it shows over axis. I found related code in TeeChart.PCL.iOS.Unified\IOSCanvas.cs: public override void ClipRectangle (Xamarin.Forms.Rectangle r) { this.g.SaveState(); this.g.ClipToRect(new System.Drawing.RectangleF((float)r.X,(float)r.Y,(float)r.Width,(float)r.Height)); this.g.RestoreState(); } it restored clipped rect??? why??? I have checked the android version, it didn't save and restore state, and it doesn't have such problem. I guess that is the reason. after I removed those two line of code, it works as expected. Any one can confirm that? and fix it?