Large colorgrid and 'clicked' method

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
yves bourgeois
Newbie
Newbie
Posts: 29
Joined: Wed Mar 05, 2008 12:00 am

Large colorgrid and 'clicked' method

Post by yves bourgeois » Wed May 07, 2008 11:56 am

Hi, Narcis,

I stumbled upon another problem. I am trying to find the valueIndex of the square in the dead center of my color grid. For this, I use the Clicked method. This works fine when using a small grid, but when I try the same method on a larger grid (300+ elements on the x-axis), it returns me '-1'. The same does not occur for a large amount on the y-axis, here the method seems to work correctly

You can reproduce this problem using the 'ColorGridTest.rar' file. You can toggle between correct and incorrect behaviour by changing the code in the CreateTestData method: this will give the error:

Code: Select all

  For i As Integer = 0 To 299
            For j As Integer = 0 To 59
while this will give a correct result:

Code: Select all

  For i As Integer = 0 To 59
            For j As Integer = 0 To 299
Could you verify this? I am using the latest version available, on vs 2005.

Do you have any idea about when the new maintenance release will be available?

cheers

Yves
[/code]

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

Post by Narcís » Wed May 07, 2008 1:12 pm

Hi Yves,

I could reproduce the issue here and added it (TF02013036) to our defect list to be fixed for next releases.
Do you have any idea about when the new maintenance release will be available?
We are currently working on it so it will be soon. Please be aware at this forum for its announcement.
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

yves bourgeois
Newbie
Newbie
Posts: 29
Joined: Wed Mar 05, 2008 12:00 am

Post by yves bourgeois » Wed May 07, 2008 1:18 pm

Hi, Narcis,

This problem also sort of occurs when I use the click-event of the color grid, I think you might be using the clicked method internally, or something.

Thanks for the reply, I'll keep checking the forum for the new release

kind regards,

yves

yves bourgeois
Newbie
Newbie
Posts: 29
Joined: Wed Mar 05, 2008 12:00 am

Post by yves bourgeois » Mon May 26, 2008 4:58 pm

Hi, Narcis

Today, I installed the newest version of teechart for vs2005, I downloaded the 12th or 13th of may. I tested whether the bug mentioned in this tread was gone, and it seemed to have taken a turn for the worse.

In the real project I'm working on, I don't receive any click-events anymore (I'm not talking about the clicked-method, but click events). I tried to reproduce this behaviour in a smaller project, but for some reason, I can only make it so that a part of the grid does not receive a click event. You can test this with the smalle project I have uploaded, called 'ColorGridTest.rar'. I don't receive click-events for the right-bottom corner.

I double-checked the references in vs2005, they point to the correct dll.

Can you reproduce this problem too? I'm already past my deadline, so this is somewhat troublesome for me. Do you think this could be fixed soon?

kind regards

yves

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 May 27, 2008 7:29 am

Hi Yves,

As you can see in TeeChart for .NET v3's release notes, this wasn't fixed until 23rd May version. Could you please try using this version?

If the problem persists don't hesitate to let us know.

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

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 May 27, 2008 7:39 am

Hi Yves,

I also tried running your example using the build I mentioned and worked fine for me here.
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

yves bourgeois
Newbie
Newbie
Posts: 29
Joined: Wed Mar 05, 2008 12:00 am

Post by yves bourgeois » Tue May 27, 2008 11:57 am

Hi, Narcis

I downloaded the newest version of teechart, and still no dice.. However, when I tried the small test application, which I have sent to you yesterday, it did work. This left me a bit puzzled.

After a lot of searching around, I finally made the problem reproducable (see ColorGridTest.rar, which I will upload shortly). It turns out that the click event is not captured when I place the teechart in a user control. When I put the teechart directly in an aspx page, it works fine, but it refused to work when I put it in an .ascx page.

Could you verify this behaviour?

Kind regards

Yves Bourgeois

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 May 27, 2008 1:07 pm

Hi Yves,

Thanks for the information. I could reproduce the issue here now and added it (TF02013074) to our defect list to be investigated.
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

yves bourgeois
Newbie
Newbie
Posts: 29
Joined: Wed Mar 05, 2008 12:00 am

Post by yves bourgeois » Mon Jun 02, 2008 10:28 am

Hi, Narcis,

have you any information on whether this bug will be fixed soon?

Kind regards,

yves

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 Jun 02, 2008 10:35 am

Hi Yves,

No, the issue hasn't been fixed yet and I can't give you an estimate date at the moment. I recommend you to be aware at this forum or subscribe to our RSS feed for new release announcements and what's fixed on them.

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

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

Post by Narcís » Wed Jun 11, 2008 7:51 am

Hi Yves,

TF02013074 has been fixed for next maintenance release.
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

yves bourgeois
Newbie
Newbie
Posts: 29
Joined: Wed Mar 05, 2008 12:00 am

Post by yves bourgeois » Tue Jul 01, 2008 10:53 am

Hi, Narcis,

great that it is fixed.

Do you have any idea on when the next maintenance release will be released?

cheers

yves

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 Jul 01, 2008 1:39 pm

Hi Yves,

We expect to have the maintenance release ready at the end of this week.
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

yves bourgeois
Newbie
Newbie
Posts: 29
Joined: Wed Mar 05, 2008 12:00 am

Post by yves bourgeois » Fri Jul 11, 2008 11:21 am

Hi, Narcis,

I have just tried out the new version of teechart, but still no dice.. when I swith 'irregular grid' on, I don't receive any click events anymore.

I will send you a sample project as soon as I have submitted this post. It will have the filename 'yvesbourgeois.rar'.

Can you verify the problem? Using the latest version of teechart, and VS2005.

kind regards,

yves

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 Jul 11, 2008 2:49 pm

Hi yves,

Thanks for the example project. I could reproduce the issue here in a WinForms application too:

Code: Select all

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

		private Steema.TeeChart.Styles.ColorGrid colorGrid1;

		private void InitializeChart()
		{
			tChart1.Aspect.View3D = false;

			colorGrid1 = new Steema.TeeChart.Styles.ColorGrid(tChart1.Chart);
			colorGrid1.IrregularGrid = true;
			colorGrid1.FillSampleValues(10);

			tChart1.ClickSeries += new Steema.TeeChart.TChart.SeriesEventHandler(tChart1_ClickSeries);
		}

		void tChart1_ClickSeries(object sender, Steema.TeeChart.Styles.Series s, int valueIndex, MouseEventArgs e)
		{
			label1.Text = valueIndex.ToString();
		}
So it's neither related to WebChart nor related to UserControls. This may have distracted us a little bit in finding a definitive solution to the issue.

Anyway, I've added it (TF02013239) to the defect list to be fixed.
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