Mouse move, mouse click problem
Mouse move, mouse click problem
Hi,
When i add MarkTip tool for colorGrid, i am not getting the current cell value in the ToolTip. It is showing the next cell value.
Mouse Click Problem :-
------------------------
I have used multiple ColorGrid in one Tchart control and each ColorGrid fits into custom axes.
In the mouse click event for ColorGrid ("colorGrid_Click(object sender, MouseEventArgs e)") "sender" parameter gives the next ColorGrid name instead of the current ColorGrid name.
When i add MarkTip tool for colorGrid, i am not getting the current cell value in the ToolTip. It is showing the next cell value.
Mouse Click Problem :-
------------------------
I have used multiple ColorGrid in one Tchart control and each ColorGrid fits into custom axes.
In the mouse click event for ColorGrid ("colorGrid_Click(object sender, MouseEventArgs e)") "sender" parameter gives the next ColorGrid name instead of the current ColorGrid name.
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi vivek,
Thanks for your reports.
Thanks for your reports.
I've been able to reproduce this. There's a half cell offset horizontally and vertically. I've added this defect (TF02012528) to our bug list to be fixed for future releases.When i add MarkTip tool for colorGrid, i am not getting the current cell value in the ToolTip. It is showing the next cell value.
I have also reproduced this. For example, having contiguous series, when clicking the cell closer to the next series also presents a half cell offset as in the previous issue. I've also added it (TF02012524) to our defect list.I have used multiple ColorGrid in one Tchart control and each ColorGrid fits into custom axes.
In the mouse click event for ColorGrid ("colorGrid_Click(object sender, MouseEventArgs e)") "sender" parameter gives the next ColorGrid name instead of the current ColorGrid name.
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
ColorGrid ToolTip Problem
Hello,
Is that colorgrid ToolTip problem has solved?
Is that the new version of Tchart has released into the market?
With regards,
Vivek.J
Is that colorgrid ToolTip problem has solved?
Is that the new version of Tchart has released into the market?
With regards,
Vivek.J
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Vivek,
Thanks in advance.
No, those bugs haven't been fixed yet. Please notice that you reported them 5 days ago.Is that colorgrid ToolTip problem has solved?
Please read messages here about this.Is that the new version of Tchart has released into the market?
What is the Latest version of Tchart available in the market?
When the new version will be available in the market?
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 |
Instructions - How to post in this forum |
colorgrid ToolTip problem
Dear Narcís,
I posted that one year ago.
We need that feature for our new project also.
Thats why i asked again.
With regards,
Vivek.J
I posted that one year ago.
We need that feature for our new project also.
Thats why i asked again.
With regards,
Vivek.J
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Dear vivek,
Sorry, my bad. I just checked the date but not the year .
As I told you, those bugs haven't been fixed specifically. However, we have enhanced ColorGrid series behaviour recently and this had a positive effect on those issues. I just checked that TF02012528 works fine for me. Could you please try using latest TeeChart for .NET v3 release? This should solve the issue for you as well.
Regarding TF02012524, I've checked that this works fine when IrregularGrid=false but fails when IrregularGrid=true. Could you also please check if latest release solves the problem at your end?
Thanks in advance.
Sorry, my bad. I just checked the date but not the year .
As I told you, those bugs haven't been fixed specifically. However, we have enhanced ColorGrid series behaviour recently and this had a positive effect on those issues. I just checked that TF02012528 works fine for me. Could you please try using latest TeeChart for .NET v3 release? This should solve the issue for you as well.
Regarding TF02012524, I've checked that this works fine when IrregularGrid=false but fails when IrregularGrid=true. Could you also please check if latest release solves the problem 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 |
Instructions - How to post in this forum |
Dear Narcís,
We are using Steema TeeChart for .NET v3(TeeChartNET3VSNET2005 installer). TeeChart.dll version is 3.2.2796.22187.
By default IrregularGrid=false for color grid. we didn't change that property. still we are facing the same problem.
Could you please tell me we can get the new installer.
If new version (after 3.2.2796.22187) available in market then please let us know. so we can test that installer.
With regards,
Vivek.J
We are using Steema TeeChart for .NET v3(TeeChartNET3VSNET2005 installer). TeeChart.dll version is 3.2.2796.22187.
By default IrregularGrid=false for color grid. we didn't change that property. still we are facing the same problem.
Could you please tell me we can get the new installer.
If new version (after 3.2.2796.22187) available in market then please let us know. so we can test that installer.
With regards,
Vivek.J
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Vivek,
Yes, much newer version is available, at the client area, as announced here.
You may be interested in subscribing to our RSS news feed for automatic release notifications.
Yes, much newer version is available, at the client area, as announced here.
You may be interested in subscribing to our RSS news feed for automatic release notifications.
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
Dear Narcís,
ToolTip is working fine in the new installer. Thank you so much.
Now i am facing one more problem. I want to give Include and Exclude points/values option in ColorGrid. I tried Colorgrid1.Delete([index]) method to exclude point from ColorGrid. But some times it is throwing error that "Index was outside the Bounds of array".
I have the following doubts,
1. How to get the ColorGrid cell/value index when the user right click on the ColorGrid?
2. How to Include and Exclude point from color grid?
(or)
How to change the color of particular cell in Grid?
Could you please explain me how to do. If you have any sample code, please send it to me.[/img]
ToolTip is working fine in the new installer. Thank you so much.
Now i am facing one more problem. I want to give Include and Exclude points/values option in ColorGrid. I tried Colorgrid1.Delete([index]) method to exclude point from ColorGrid. But some times it is throwing error that "Index was outside the Bounds of array".
I have the following doubts,
1. How to get the ColorGrid cell/value index when the user right click on the ColorGrid?
2. How to Include and Exclude point from color grid?
(or)
How to change the color of particular cell in Grid?
Could you please explain me how to do. If you have any sample code, please send it to me.[/img]
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi vivek,
This is most likely because when you remove points from a series it's bein reindexed and you may still assume series have same number of points it originally had.Now i am facing one more problem. I want to give Include and Exclude points/values option in ColorGrid. I tried Colorgrid1.Delete([index]) method to exclude point from ColorGrid. But some times it is throwing error that "Index was outside the Bounds of array".
You can do something as shown in the code snippet below.I have the following doubts,
1. How to get the ColorGrid cell/value index when the user right click on the ColorGrid?
You could try setting cells transparent as shown in the code snippet below.2. How to Include and Exclude point from color grid?
(or)
How to change the color of particular cell in Grid?
Code: Select all
private Steema.TeeChart.Styles.ColorGrid colorGrid1;
private void InitializeChart()
{
tChart1.Aspect.View3D = false;
colorGrid1 = new Steema.TeeChart.Styles.ColorGrid(tChart1.Chart);
colorGrid1.FillSampleValues();
colorGrid1.Click += new MouseEventHandler(colorGrid1_Click);
}
void colorGrid1_Click(object sender, MouseEventArgs e)
{
int index = colorGrid1.Clicked(e.X, e.Y);
colorGrid1.Colors[index] = Color.Transparent;
colorGrid1.Repaint();
}
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
Thank you so much Narcis,
Its working fine for Exclude the points. But how can i include it again.
I am facing one more problem.
I am using custom left axes to show colorgrid.
when i zoomout(shrink) the tchart size (for zooming option) left axes labels are hiding inside (full text not showing outside).
Could you please tell me how to move the left axes position from default position.(I am not asking about StartPosition/EndPosition property).
Its working fine for Exclude the points. But how can i include it again.
I am facing one more problem.
I am using custom left axes to show colorgrid.
when i zoomout(shrink) the tchart size (for zooming option) left axes labels are hiding inside (full text not showing outside).
Could you please tell me how to move the left axes position from default position.(I am not asking about StartPosition/EndPosition property).
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi vivek,
You can set original color back by setting cell color to Color.Empty:Its working fine for Exclude the points. But how can i include it again.
Code: Select all
void colorGrid1_Click(object sender, MouseEventArgs e)
{
int index = colorGrid1.Clicked(e.X, e.Y);
if (colorGrid1.Colors[index] == Color.Transparent)
{
colorGrid1.Colors[index] = Color.Empty;
}
else
{
colorGrid1.Colors[index] = Color.Transparent;
}
colorGrid1.Repaint();
}
In that case you may need to set panel margins manually as custom axes don't set them, for example:I am facing one more problem.
I am using custom left axes to show colorgrid.
when i zoomout(shrink) the tchart size (for zooming option) left axes labels are hiding inside (full text not showing outside).
Could you please tell me how to move the left axes position from default position.(I am not asking about StartPosition/EndPosition property).
Code: Select all
tChart1.Panel.MarginLeft = 10;
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |