Hi
After experimenting and reading through the forums I discovered that - for my needs - setting .fastcursor = true works really well (the normal cursor really is way too slow in anything but the most basic of charts).
I am having a problem though. I am creating a WinForms application. The chart control is on one form (which is an MDI child). I then have another form that displays chart data. This form has it's TopMost property set to TRUE.
Now if the fastcursor moves 'behind' this form, the cursor line draws over it. In fact I have since tested this by dragging any other application window (notepad is as example) partially over my chart window and then moved the mouse and seen that the cursor draws onto the overlapping window.
Is this a known issue?
Fastcursor
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: Fastcursor
Hi rossmc,
No, it's the first time I hear about this. Could you please attach a simple example project we can run "as-is" to reproduce the problem here?
Thanks in advance.
No, it's the first time I hear about this. Could you please attach a simple example project we can run "as-is" to reproduce the problem here?
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 |
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: Fastcursor
Hi rossmc,
After doing a little more investigation I found there were similar problems reported here, for example:
http://www.teechart.net/support/viewtop ... f=4&t=8801
So you could try setting BackBuffer to null or use manual double buffering. Please notice that UseBuffer property is deprecated now and you should use BufferStyle instead, for example:
After doing a little more investigation I found there were similar problems reported here, for example:
http://www.teechart.net/support/viewtop ... f=4&t=8801
So you could try setting BackBuffer to null or use manual double buffering. Please notice that UseBuffer property is deprecated now and you should use BufferStyle instead, for example:
Code: Select all
tChart1.Graphics3D.BufferStyle = Steema.TeeChart.Drawing.BufferStyle.None;
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: Fastcursor
I am using v3 of .NET control which does not appear to have .BufferStyle property.
I tried setting .UseBuffer = false as well as setting .BackBuffer = nothing with no effect (problem still exists)
I tried setting .UseBuffer = false as well as setting .BackBuffer = nothing with no effect (problem still exists)
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: Fastcursor
Hi rossmc,
Can you please send an example reproducing the issue then? Latest releases of v3 do have BufferStyle. Which build are you using?
Thanks in advance.
Can you please send an example reproducing the issue then? Latest releases of v3 do have BufferStyle. Which build are you using?
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: Fastcursor
Ok, I first updated to the latest version, now on 3.5.3630.19311. I now have the .BufferStyle property. Doesn't matter which value I set it to the problem persists.
I uploaded steema.zip via the upload page (www.steema.net/upload)
Simply click on the new button on toolbar which will open a chart on a child form. Drag any other window partially over the chart. Now move the mouse on the chart face to get the cursor to move 'behind' the window in front. The cursor draws on this window.
I uploaded steema.zip via the upload page (www.steema.net/upload)
Simply click on the new button on toolbar which will open a chart on a child form. Drag any other window partially over the chart. Now move the mouse on the chart face to get the cursor to move 'behind' the window in front. The cursor draws on this window.
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: Fastcursor
Hi rossmc,
Thanks for the example project. I could reproduce the issue here and this is due to the usage of FastCursor=True. Setting it to false solves the problem. This is a much generic issue with FastCursor=True, for example, code below also reproduces it.
Thanks for the example project. I could reproduce the issue here and this is due to the usage of FastCursor=True. Setting it to false solves the problem. This is a much generic issue with FastCursor=True, for example, code below also reproduces it.
Code: Select all
public Form1()
{
InitializeComponent();
InitializeChart();
}
private void InitializeChart()
{
Steema.TeeChart.Styles.Line line1 = new Steema.TeeChart.Styles.Line(tChart1.Chart);
line1.FillSampleValues();
Steema.TeeChart.Tools.CursorTool cursor1 = new Steema.TeeChart.Tools.CursorTool(tChart1.Chart);
cursor1.FollowMouse = true;
cursor1.FastCursor = true;
}
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 |