Page 1 of 2
Large colorgrid and 'clicked' method
Posted: Wed May 07, 2008 11:56 am
by 14048505
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]
Posted: Wed May 07, 2008 1:12 pm
by narcis
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.
Posted: Wed May 07, 2008 1:18 pm
by 14048505
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
Posted: Mon May 26, 2008 4:58 pm
by 14048505
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
Posted: Tue May 27, 2008 7:29 am
by narcis
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.
Posted: Tue May 27, 2008 7:39 am
by narcis
Hi Yves,
I also tried running your example using the build I mentioned and worked fine for me here.
Posted: Tue May 27, 2008 11:57 am
by 14048505
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
Posted: Tue May 27, 2008 1:07 pm
by narcis
Hi Yves,
Thanks for the information. I could reproduce the issue here now and added it (TF02013074) to our defect list to be investigated.
Posted: Mon Jun 02, 2008 10:28 am
by 14048505
Hi, Narcis,
have you any information on whether this bug will be fixed soon?
Kind regards,
yves
Posted: Mon Jun 02, 2008 10:35 am
by narcis
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.
Posted: Wed Jun 11, 2008 7:51 am
by narcis
Hi Yves,
TF02013074 has been fixed for next maintenance release.
Posted: Tue Jul 01, 2008 10:53 am
by 14048505
Hi, Narcis,
great that it is fixed.
Do you have any idea on when the next maintenance release will be released?
cheers
yves
Posted: Tue Jul 01, 2008 1:39 pm
by narcis
Hi Yves,
We expect to have the maintenance release ready at the end of this week.
Posted: Fri Jul 11, 2008 11:21 am
by 14048505
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
Posted: Fri Jul 11, 2008 2:49 pm
by narcis
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.