Unhandled exception in Print Preview window of TeeChart.

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Nitin
Newbie
Newbie
Posts: 52
Joined: Fri Jun 30, 2006 12:00 am

Post by Nitin » Fri Dec 12, 2008 1:28 pm

Hi Narcis,
Today I noticed that when I use the follwoing statement.
this.ContourTeeChart.Axes.Left.Inverted = false; then in that I can see the color of the cell of the colorGrid. but as soon as put it back i.e. equal to true which was our original code it seems to disappeared but I think colorGrid starts printing the cell from the top and hence not visible to us but as soon as we invert the left axes of the chart in that case it become visible. Can you tell me what property of colorGrid/Teechart need to be set so that colorgrid start printing the cell from the left most bottom of the Teechart not from the top.

Thanks,
Nitin

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Fri Dec 12, 2008 2:35 pm

Hi Nitin,

It's difficult for us to guess which the problem is without being able to reproduce it. Could you please send us a simple example project we can run "as-is" to reproduce the problem here and debug it?

Thanks in advance.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Nitin
Newbie
Newbie
Posts: 52
Joined: Fri Jun 30, 2006 12:00 am

Post by Nitin » Fri Dec 12, 2008 2:48 pm

Hi Narcis,
I have uploaded a sample application having the same issue as we are having. Password of the file is Nitin . In code I have commented the statement
// tChart1.Axes.Left.Inverted = false;

in which case if we click on the button we could not see the colorGrid series. But if I uncomment this code and clicks on button at that time I can see the colorGrid.

Please help me out with this..
Thanks,
Nitin

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Fri Dec 12, 2008 3:04 pm

Hi Nitin,

Thanks for the example project. I found that adding:

Code: Select all

			colorGrid1.IrregularGrid = true;
to button1_Click solves the problem. However I don't see the reason why IrregularGrid should be true here. We will investigate the issue here and will get back to you when we have some news.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Fri Dec 12, 2008 3:26 pm

Hello Nitin,

After investigating the issue here I could reduce it to a simpler code (see snippet below). Grid cells are not painted in the ChartRect but you can see them painted scrolling the chart down. Commenting in tChart1.Axes.Left.Inverted = true; works fine.

Also, setting colorGrid1.IrregularGrid = true; works but scrolling the chart down grid lines are also painted above the ColorGrid.

So I think this is a bug, which I have added to the defect list (TF02013651) to be fixed for next releases.

Code: Select all

		public Form1()
		{
			InitializeComponent();
			InitializeChart();
		}

		void InitializeChart()
		{
			tChart1.Aspect.View3D = false;
			tChart1.Axes.Left.Inverted = true;

			Steema.TeeChart.Styles.ColorGrid colorGrid1 = new Steema.TeeChart.Styles.ColorGrid(tChart1.Chart);
			
			colorGrid1.Active = true;
			//colorGrid1.IrregularGrid = true;

			Random rnd = new Random();
			for (int i = 0; i < 100; i++)
			{
				for (int j = 0; j < 50; j++)
				{
					colorGrid1.Add(i, rnd.NextDouble(), j);
				}
			}
		}
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Nitin
Newbie
Newbie
Posts: 52
Joined: Fri Jun 30, 2006 12:00 am

Post by Nitin » Mon Dec 15, 2008 3:55 am

Hi Narcis,
You are right this is an issue with this version of TeeChart, as I tried running the above code by uncommenting the line tChart1.Axes.Left.Inverted = true; with TeeChart pro v 2.0.2489.20960 and found no issues. Whereas with TeeChart Pro ver. 3.5.3188.18560 it seems to be an issue. Could you please let me know how can we get the fix for this issue ASAP. Please give this issue a higher priority as our Product release is on hold because of this issue. And now we cann't go back to previous version too.
I really appreciate your help...
Thanks,
Nitin

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Mon Dec 15, 2008 9:42 am

Hi Nitin,

I'm not able to provide an estimate date for this being fixed. However, there's a workaround which works here, which is setting IrregularGrid=true. Could you please check if this works fine at your end?

Thanks in advance.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Nitin
Newbie
Newbie
Posts: 52
Joined: Fri Jun 30, 2006 12:00 am

Post by Nitin » Mon Dec 15, 2008 10:00 am

Hi Narcis,
I tried this also but resolution and clarity of the chart gone. And there are some issues appeared after that change like I am not able to see ToolTip on the chart, and I am also not able to see scan values present in the array used to fill Color grid. So I don't think this would be acceptable to our Customer. Could you check it out in other version of the TeeChart released after this version. So that we can think of using that version.

Thanks,
Nitin

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Mon Dec 15, 2008 10:27 am

Hi Nitin,

I just tried using build 3.5.3146.24804/5/6 from 12th August and it plots the ColorGrid but there are a few issue there. Several changes have been done to ColorGrid in the last months. I'll send you the URL to download build 3.5.3188.18560/1/2 from 23rd September so that you can check if it works fine at your end.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Nitin
Newbie
Newbie
Posts: 52
Joined: Fri Jun 30, 2006 12:00 am

Post by Nitin » Tue Dec 16, 2008 1:14 pm

Hi Narcis,
Out of the three installer for which you have sent the link, two of them are for Framework 2.0 or above. But our application support only framework 1.1. So I could not try two of them. The third one I tried but its version seems to be the same one and hence not working. Is there any other released version higher then the one we are using and for framework 1.1. The version with which you have tried support which framework? In case if there is no version exist then in that case you have to provide as the fix for the version we are running with. This issue is causing lot of problem here. Please give this issue higher priority. I don't think fix for this issue will take much time.
Thanks for your help.

Thanks,
Nitin

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Tue Dec 16, 2008 1:36 pm

Hi Nitin,

No, there's no other higher version than the last publicly available. Ok, I've set this to be a high priority issue to be fixed ASAP.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Nitin
Newbie
Newbie
Posts: 52
Joined: Fri Jun 30, 2006 12:00 am

Post by Nitin » Fri Dec 19, 2008 8:42 am

Hi Narcis,
Thanks for raising the issue priority. Could you please tell us an appriximate date when will be fix ready. As I need to give date to our customer related to the same issue.

Thanks,
Nitin

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Fri Dec 19, 2008 9:02 am

Hi Nitin,

A maintenance release will be released imminently but it won't include a fix for this yet. Considering that in average we publish a new version every 4-6 weeks you may expect next maintenance release to be out at the end of January or beginning of February. However, we don't have a date fixed for that release nor I can commit on this bug being fixed on it.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Nitin
Newbie
Newbie
Posts: 52
Joined: Fri Jun 30, 2006 12:00 am

Any update On the issue

Post by Nitin » Thu Jan 22, 2009 4:30 am

Hi Narcis,
We and our customer both are eagerly waiting for the fix of the issue. I hope we will get the fix for the issue by the end of January. Could you please make sure that this issue has been taken into consideration by your team.

Thanks,
Nitin

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Thu Jan 22, 2009 10:52 am

Hi Nitin,

The issue hasn't been fixed yet. According to its priority, I think it's likely we will try to fix it for the next maintenance release but I can confirm that. You can check back in one or two weeks or be aware this forum or subscribe to our RSS news feed for new release announcements and what's fixed on them.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply