Page 1 of 1

Visual error and crash in iOS

Posted: Thu Jun 04, 2015 8:59 pm
by 17273798
Hi,

I'm using TeeChart for Xamarin.iOS v2015 4.15.05.26.
The attached test project displays a very simple bar chart. However, I'm facing two issues:

1) When the bottom axis labels have a 90 degree angle, the labels are cut off (the last letter of each label is missing). I know that version 4.15.05.26 was supposed to fix this issue, but it did not.

2) I'm trying to get horizontal grid lines to appear on the chart area. In order to do this, I configure Axes.Left.Grid appropriately. However, this leads to a crash. Only if I uncomment the following line:

Code: Select all

this.Chart.Axes.Left.Grid.Visible = false;
the charts works without crashing, but I don't get any grid lines in that case (of course). Note that the same code used to work in previous versions - it stopped working when I migrated my project to iOS unified.

Any help would be appreciated.

Re: Visual error and crash in iOS

Posted: Fri Jun 05, 2015 8:49 am
by narcis
Hi ma1,
ma1 wrote: 1) When the bottom axis labels have a 90 degree angle, the labels are cut off (the last letter of each label is missing). I know that version 4.15.05.26 was supposed to fix this issue, but it did not.
Yes, this is the same issue we discussed at StackOverflow. I just confirmed the problem is still present. I added it to our bug list (bug #1223). We will investigate it and get back to you ASAP.
ma1 wrote: 2) I'm trying to get horizontal grid lines to appear on the chart area. In order to do this, I configure Axes.Left.Grid appropriately. However, this leads to a crash. Only if I uncomment the following line:

Code: Select all

this.Chart.Axes.Left.Grid.Visible = false;
the charts works without crashing, but I don't get any grid lines in that case (of course). Note that the same code used to work in previous versions - it stopped working when I migrated my project to iOS unified.
Thanks for reporting. I could reproduce this one as well and added it to the bug list (bug #1224). I found this only occurs when Grid.Color is set to white. Commenting out the line below works fine as well. So you can get non-white grid lines.

Code: Select all

      this.Chart.Axes.Left.Grid.Color = UIColor.White.CGColor;

Re: Visual error and crash in iOS

Posted: Sun Jun 07, 2015 10:08 pm
by Pep
Hi ma1,

just inform that both bugs have been fixed now. A new maintenance release will be posted on our web site in one or two days.

Re: Visual error and crash in iOS

Posted: Mon Jun 08, 2015 5:53 am
by 17273798
That's great, thank you!