Quinn-Curtis Forums
Quinn-Curtis Forums
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Tools for Microsoft .Net
 QCChart3D 3D Charting Tools for .Net (VB and C#)
 refresh other graph when moving 3D Graph.
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

oliversleep

35 Posts

Posted - 08 Sep 2010 :  10:46:46  Show Profile  Reply with Quote
Hi,

In our application we have multiple graph (3D, 2D with auto adding points, RT) with zoom, rotation, ...
We draw each graph in separate Windows.

But the problem is : when we rotate one of the 3D graph, it's freeze the other graphs. And when we stop turning our 3D graph, it's OK, but we loose all values during the movement.

Is it normal, or is it possible to thread this rotate action ?

Thanks

quinncurtis

1586 Posts

Posted - 09 Sep 2010 :  10:32:54  Show Profile  Reply with Quote
Please be specific. How are you rotating the graphs? There are several ways.
Go to Top of Page

oliversleep

35 Posts

Posted - 09 Sep 2010 :  13:05:24  Show Profile  Reply with Quote
We are rotating the graphs with a mouse listener "RotateChartMouseListener"

here is my code :


_rotateMouseListener = new RotateChartMouseListener(chartView, MouseButtons.Left, _pTransform);
_rotateMouseListener.RotationMode = RotateChartMouseListener.RotationModes.XY_Z_MODE;
_rotateMouseListener.SetEnable(true);
chartView.AddMouseListener(_rotateMouseListener);
Go to Top of Page

quinncurtis

1586 Posts

Posted - 09 Sep 2010 :  14:59:39  Show Profile  Reply with Quote
Sorry, but we know of no way to resolve this. Once you start one of our RotateChartMouseListener objects processing, as long as you hold the mouse button down, the thread is locked and other events will not take place until the mouse button is released.

You can use the RotateTransform3D class instead. It does not process mouse events the same way and does not completely lock the process the way the RotateChartMouseListener does.

RotateTransform3D rotatemouselistener = new RotateTransform3D(chartVu );
rotatemouselistener.SetEnable(true);
rotatemouselistener.SetObjectFilter("Axis");
chartVu.AddMouseListener(rotatemouselistener);
Go to Top of Page

oliversleep

35 Posts

Posted - 09 Sep 2010 :  16:25:52  Show Profile  Reply with Quote
Thanks for your suggestion, I'll try it on tomorrow morning.
I hope it'll be running.

Thanks !
Go to Top of Page

oliversleep

35 Posts

Posted - 10 Sep 2010 :  03:16:58  Show Profile  Reply with Quote
It look like OK when we move the 3D graph now. Thanks !

But (there is always a but), is it possible to have the same result without the rotate control box ? To plug each rotate action of the box to a mouse move for example ?

Thanks
Go to Top of Page

quinncurtis

1586 Posts

Posted - 10 Sep 2010 :  08:22:34  Show Profile  Reply with Quote
Sorry, but the way the software is now, we do not see a way. If you would like our Programming Services group to investigate what it would cost to implement a modified version of the RotateChartMouseListener let us know and they will get back to you with a quote.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Quinn-Curtis Forums © 2000-2018 Quinn-Curtis, Inc. Go To Top Of Page
Powered By: Snitz Forums 2000 Version 3.4.07