TChart Issues II
TChart Issues II
Hi Support,
rather than append to the previous thread I thought it better to start a new one.
15. The rubber banding for zooming does not display in subcharts. The subcharts do indeed zoom but the user can't see the dashed rectangle of the region to zoom into.
16. The Axes Position property is not updated when thge margin is changed. I assume this will apply to all Axes but I have only confirmed it with the right axis.
17. With a vertical Colorline on a chart and panning the chart in the horizontal direction such that the Colorline reaches the left or right axis (depending on the pan direction) which is expected. With continued panning the vertical Colorline remains at the left or right axis and "slides" along the bottom axis (ie it changes it bottom axis position without the user draging it). This is a very nasty problem for our users. I haven't looked into the TChart code yet but any help (ie a fix!) would be appreciated.
18. With the Cursor tool, the Cursor.OnSnapChange event fires on a MouseMove and the internal Point field "IPoint" is updated when the BroadcastToolEvent "AfterDrawEvent" fires. The problem is that the OnSnapChange method uses IPoint but the AfterDrawEvent happens after the OnSnapChange. Put another way, the X, Y and ValueIndex of the "CursorChangeEventArgs" are for the previous mouse click event. Is this a know problem? I fixed the problem for our use by calling "CalcScreenPositions()" from OnSnapChange().
regards
Mark
rather than append to the previous thread I thought it better to start a new one.
15. The rubber banding for zooming does not display in subcharts. The subcharts do indeed zoom but the user can't see the dashed rectangle of the region to zoom into.
16. The Axes Position property is not updated when thge margin is changed. I assume this will apply to all Axes but I have only confirmed it with the right axis.
17. With a vertical Colorline on a chart and panning the chart in the horizontal direction such that the Colorline reaches the left or right axis (depending on the pan direction) which is expected. With continued panning the vertical Colorline remains at the left or right axis and "slides" along the bottom axis (ie it changes it bottom axis position without the user draging it). This is a very nasty problem for our users. I haven't looked into the TChart code yet but any help (ie a fix!) would be appreciated.
18. With the Cursor tool, the Cursor.OnSnapChange event fires on a MouseMove and the internal Point field "IPoint" is updated when the BroadcastToolEvent "AfterDrawEvent" fires. The problem is that the OnSnapChange method uses IPoint but the AfterDrawEvent happens after the OnSnapChange. Put another way, the X, Y and ValueIndex of the "CursorChangeEventArgs" are for the previous mouse click event. Is this a know problem? I fixed the problem for our use by calling "CalcScreenPositions()" from OnSnapChange().
regards
Mark
Re: TChart Issues II
Hello Mark,
Please, check if previous code works correctly for you. Also, if you don't want limit to drag color line, you can put property NoLimitDrag=true.
BTW: For future technical inquiries, would you mind posting each new issue in a different forums thread? This makes easier for other users to search in the forums and for us to follow up and distribute questions to the appropriate person.
Thanks,
I could reproduce your problem and I have added it in bug report list with number [TF02014821]. We will try to fix it for next versions of TeeChart.Net15. The rubber banding for zooming does not display in subcharts. The subcharts do indeed zoom but the user can't see the dashed rectangle of the region to zoom into.
For default, Right axes and Top axes aren't visible, why position don't update. If you want update positions of these axes, you need assign to the axes one series. Please, see next code and check if works as you want.16. The Axes Position property is not updated when thge margin is changed. I assume this will apply to all Axes but I have only confirmed it with the right axis.
Code: Select all
public Form1()
{
InitializeComponent();
InitializeChart();
}
private Steema.TeeChart.Styles.Bar bar1,bar2;
private void InitializeChart()
{
bar1 = new Steema.TeeChart.Styles.Bar(tChart1.Chart);
bar2 = new Steema.TeeChart.Styles.Bar(tChart1.Chart);
bar2.FillSampleValues();
bar1.FillSampleValues();
bar1.CustomVertAxis = tChart1.Axes.Left;
bar1.CustomHorizAxis = tChart1.Axes.Bottom;
bar2.CustomHorizAxis = tChart1.Axes.Top;
bar2.CustomVertAxis = tChart1.Axes.Right;
tChart1.Draw();
int i = tChart1.Axes.Right.Position;//Change top,bottom or Left and debug
tCharthttp://www.teechart.net/support/posting.php?mode=reply&f=4&t=109981.Panel.MarginRight = 30;
//tChart1.Panel.MarginLeft = 30;
//tChart1.Panel.MarginTop = 30;
//tChart1.Panel.MarginBottom = 30;
tChart1.Draw();
int x =tChart1.Axes.Right.Position;//Change top,bottom or Left and debug
}
I can not reproduce your problem here, using last version of TeeChart .Net and following code:17. With a vertical Colorline on a chart and panning the chart in the horizontal direction such that the Colorline reaches the left or right axis (depending on the pan direction) which is expected. With continued panning the vertical Colorline remains at the left or right axis and "slides" along the bottom axis (ie it changes it bottom axis position without the user draging it). This is a very nasty problem for our users. I haven't looked into the TChart code yet but any help (ie a fix!) would be appreciated.
Code: Select all
private Steema.TeeChart.Styles.Bar bar1;
private Steema.TeeChart.Tools.ColorLine colorLine1;
private void InitializeChart()
{
bar1 = new Steema.TeeChart.Styles.Bar(tChart1.Chart);
bar1.FillSampleValues();
colorLine1 = new Steema.TeeChart.Tools.ColorLine(tChart1.Chart);
colorLine1.Axis = tChart1.Axes.Bottom;
colorLine1.Value = 0;
colorLine1.Pen.Color = Color.Red;
//colorLine1.NoLimitDrag = true;
}
I couldn't reproduce your problem. Please, you could send us a simple project because we can reproduce exactly your problem here?18. With the Cursor tool, the Cursor.OnSnapChange event fires on a MouseMove and the internal Point field "IPoint" is updated when the BroadcastToolEvent "AfterDrawEvent" fires. The problem is that the OnSnapChange method uses IPoint but the AfterDrawEvent happens after the OnSnapChange. Put another way, the X, Y and ValueIndex of the "CursorChangeEventArgs" are for the previous mouse click event. Is this a know problem? I fixed the problem for our use by calling "CalcScreenPositions()" from OnSnapChange().
BTW: For future technical inquiries, would you mind posting each new issue in a different forums thread? This makes easier for other users to search in the forums and for us to follow up and distribute questions to the appropriate person.
Thanks,
Best Regards,
Sandra Pazos / 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 |
Re: TChart Issues II
Hi Sandra,
re: 16 Ok. In the end I used ChartRect to get what I wanted.
re: 17 The Colorline demo does it.
Sure I could use "colorLine1.NoLimitDrag = true;" but then we have the problem of the colorline drawing outside the chart. Either way there are problems with colorline. Use the demo to see the problems.
re: separate thread per issue
I understand your request to use separate threads and normally I do. However, in this case I'm trying to keep the number of threads I have to track to a minimum ie 3 or 4 vs 20+.
regards
Mark
re: 16 Ok. In the end I used ChartRect to get what I wanted.
re: 17 The Colorline demo does it.
Sure I could use "colorLine1.NoLimitDrag = true;" but then we have the problem of the colorline drawing outside the chart. Either way there are problems with colorline. Use the demo to see the problems.
re: separate thread per issue
I understand your request to use separate threads and normally I do. However, in this case I'm trying to keep the number of threads I have to track to a minimum ie 3 or 4 vs 20+.
regards
Mark
Re: TChart Issues II
Hello Mark,
Thanks,
Please, you can say exactly which steps we must follow, for reproduce you problem with colorLine here?17 The Colorline demo does it.
Sure I could use "colorLine1.NoLimitDrag = true;" but then we have the problem of the colorline drawing outside the chart. Either way there are problems with colorline. Use the demo to see the problems.
Thanks,
Re: TChart Issues II
Hi Sandra,
re: 17 Colorline problem
With "No limit drag" = false.
1. run the demo
2. select tools folder
3. select Color Line
4. Note green vertical line at X axis = 10
5. Move mouse cursor into left side of chart and hold right mouse button down
6. With right mouse button down move mouse to the right until the vertical green line has move the the X axis = 5 position
7. Now move mouse (with right button still down) back to the left.
8. Note the vertical green line has changed from X axis = 10 to X axis = 5 without the user actually moving the color line.
Now "No limit drag" = true.
With a new demo session repeat steps 1 - 6 above and note that this time the vertical green moves beyond the chart and into the legend.
I do hope the above steps are clear enough now.
re: 18 problem with Cursor tool OnSnapChange...
regards
Mark
re: 17 Colorline problem
With "No limit drag" = false.
1. run the demo
2. select tools folder
3. select Color Line
4. Note green vertical line at X axis = 10
5. Move mouse cursor into left side of chart and hold right mouse button down
6. With right mouse button down move mouse to the right until the vertical green line has move the the X axis = 5 position
7. Now move mouse (with right button still down) back to the left.
8. Note the vertical green line has changed from X axis = 10 to X axis = 5 without the user actually moving the color line.
Now "No limit drag" = true.
With a new demo session repeat steps 1 - 6 above and note that this time the vertical green moves beyond the chart and into the legend.
I do hope the above steps are clear enough now.
re: 18 problem with Cursor tool OnSnapChange...
As for your request for an example project that demonstrates the problem more clearly to you I don't have the time to produce one. As it is I have to spend way too much time researching, fixing or explaining TChart issues which costs my company in lost time that could have been used for adding new features. As I said, I have fixed the problem for our use and was just letting Steema know about the problem. Anyway the demo Tools\Cursor\Scope is a good spot to start. Set Snap on and Snap style to vertical and the code needs to be modified to handle the OnSnapChange event. It may be easier to follow by setting break points in the "CalcScreenPositions" and "OnSnapChange" methods in the Cursor.cs file and debug the demo. I hope this helps.I couldn't reproduce your problem. Please, you could send us a simple project because we can reproduce exactly your problem here?
regards
Mark
Re: TChart Issues II
Hello Mark,
If it appears, please you could make a video because we can see exactly the problem You could make a video for us with program CamStudio that you can find in this link
et
Thanks,
We couldn't reproduce here your problem using last build 4.0.2009.62332 of TeeChart .Net. Please, if you don't have last version of TeeChart .Net, could you update it. When you have updated your TeeChart .Net build, check if problem still appears.re: 17 Colorline problem
If it appears, please you could make a video because we can see exactly the problem You could make a video for us with program CamStudio that you can find in this link
I could reproduce your problem and I have added in bug report list with number [TF02014832]. We will try to fix it for next versions of TeeChart .NetAs for your request for an example project that demonstrates the problem more clearly to you I don't have the time to produce one. As it is I have to spend way too much time researching, fixing or explaining TChart issues which costs my company in lost time that could have been used for adding new features. As I said, I have fixed the problem for our use and was just letting Steema know about the problem. Anyway the demo Tools\Cursor\Scope is a good spot to start. Set Snap on and Snap style to vertical and the code needs to be modified to handle the OnSnapChange event. It may be easier to follow by setting break points in the "CalcScreenPositions" and "OnSnapChange" methods in the Cursor.cs file and debug the demo. I hope this helps.
et
Thanks,
Best Regards,
Sandra Pazos / 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 |
Re: TChart Issues II
re: Color Line issue
see attachment. Note, demo was run under Vista and I think the problem is seen under Windows 7 as well.
regards
Mark
see attachment. Note, demo was run under Vista and I think the problem is seen under Windows 7 as well.
regards
Mark
- Attachments
-
- Color Line.jpg (136.57 KiB) Viewed 13934 times
Re: TChart Issues II
Hello Mark,
I understand that when ColorLine is NoLimitDrag=True, and drag it outside the boundaries of chart, it is painted over of Legend. Could you confirm that is it your problem?
Thanks,
I understand that when ColorLine is NoLimitDrag=True, and drag it outside the boundaries of chart, it is painted over of Legend. Could you confirm that is it your problem?
Thanks,
Best Regards,
Sandra Pazos / 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 |
Re: TChart Issues II
Hi Sandra,
regards
Mark
In the case of the demo the answer is 'yes'. However, the generalized case is that the ColorLine is rendered outside the boundaries of the chart when the ColorLine position is beyond the axis limits currently displayed on the chart. I hope this has explained the problem sufficiently.I understand that when ColorLine is NoLimitDrag=True, and drag it outside the boundaries of chart, it is painted over of Legend. Could you confirm that is it your problem?
regards
Mark
Re: TChart Issues II
Hello Mark,
Ok, I have added this as a feature request [ TF02014836] to the wish-list to be considered for inclusion in future releases. On the other hand, for now you can do is put NoLimitDrag = false, because this will allow you to control ColorLine that doesn't out the boundaries of chart.
Thanks,
Ok, I have added this as a feature request [ TF02014836] to the wish-list to be considered for inclusion in future releases. On the other hand, for now you can do is put NoLimitDrag = false, because this will allow you to control ColorLine that doesn't out the boundaries of chart.
Thanks,
Best Regards,
Sandra Pazos / 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 |
Re: TChart Issues II
Hi Sandra,
your kidding me right?
What you are suggesting I do is the reason I posted the following TChart defect in the first place!
regards
Mark
your kidding me right?
What you are suggesting I do is the reason I posted the following TChart defect in the first place!
I appreciate there is a language barrier that can make written descriptions harder to understand but this thread does seem longer than it need be.17. With a vertical Colorline on a chart and panning the chart in the horizontal direction such that the Colorline reaches the left or right axis (depending on the pan direction) which is expected. With continued panning the vertical Colorline remains at the left or right axis and "slides" along the bottom axis (ie it changes it bottom axis position without the user draging it). This is a very nasty problem for our users. I haven't looked into the TChart code yet but any help (ie a fix!) would be appreciated.
regards
Mark
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: TChart Issues II
Hi Mark,
I'm sorry the situation reached this point and I'd like to apologise for that. I have checked this issue together with Sandra and we haven't been able to reproduce what you report here. We have no problem in adding bugs to our bug tracking system and we are willing to help you on this. However, as you may understand, we need to be able ot reproduce them to be debugged and fixed. So, as Sandra already asked, could you please send us a video showing how to reproduce the bug and/or a complete set of instructions on how to do so?
Thanks in advance.
I'm sorry the situation reached this point and I'd like to apologise for that. I have checked this issue together with Sandra and we haven't been able to reproduce what you report here. We have no problem in adding bugs to our bug tracking system and we are willing to help you on this. However, as you may understand, we need to be able ot reproduce them to be debugged and fixed. So, as Sandra already asked, could you please send us a video showing how to reproduce the bug and/or a complete set of instructions on how to do so?
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 |
Re: TChart Issues II
Hi Sandra & Narcis,
there is little point in me producing a special project to demonstrate this defect when the TChart demo application can easily demonstrate the problem.
Anyway, I have created a screen capture file BUT it is too big as either .avi or .zip and .camrec is not allowed.
In retrospect, I believe it would possibly have been better use of my time to just fix the TChart problem myself.
regards
Mark
there is little point in me producing a special project to demonstrate this defect when the TChart demo application can easily demonstrate the problem.
Anyway, I have created a screen capture file BUT it is too big as either .avi or .zip and .camrec is not allowed.
In retrospect, I believe it would possibly have been better use of my time to just fix the TChart problem myself.
regards
Mark
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: TChart Issues II
Hi Mark,
http://www.teechart.net/files/public/su ... e.swf.html
You'd better view this using Internet Explorer.
Is this what you get at your end or this is the behaviour you'd expect from ColorLine tool?
Ok, I have done a video of the ColorLine demo using latest TeeChart for .NET 2010 release available:there is little point in me producing a special project to demonstrate this defect when the TChart demo application can easily demonstrate the problem.
http://www.teechart.net/files/public/su ... e.swf.html
You'd better view this using Internet Explorer.
Is this what you get at your end or this is the behaviour you'd expect from ColorLine tool?
Ok, you can post your files at the upload page. If any file is not supported you can always compress it in a zip package.Anyway, I have created a screen capture file BUT it is too big as either .avi or .zip and .camrec is not allowed.
I'd like to apologise if you feel we are wasting your valuable time. As I said before, we are willing to get to the root of the problem but we haven't been able to reproduce it here as can be seen in the video I have made.In retrospect, I believe it would possibly have been better use of my time to just fix the TChart problem myself.
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 |
Re: TChart Issues II
Hi Narcis,
I viewed the video and it seems my description of the "ColorLine" problem has not been very clear and I do appreciate that you are sincerely trying to help.
I have uploaded "Demo ColorLine capture.zip".
Hopefully, you will see in my demo that the colorline is NOT moved directly but the chart is panned to the right and then to the left. See my earlier posts for instructions.
regards
Mark
I viewed the video and it seems my description of the "ColorLine" problem has not been very clear and I do appreciate that you are sincerely trying to help.
I have uploaded "Demo ColorLine capture.zip".
Hopefully, you will see in my demo that the colorline is NOT moved directly but the chart is panned to the right and then to the left. See my earlier posts for instructions.
regards
Mark