Profile Picture

TrackBall not working

Posted By Eli Gazit 6 Years Ago
Author
Message
Eli Gazit
Posted 6 Years Ago
View Quick Profile
Forum Newbie

Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)

Group: Forum Members
Last Active: 6 Years Ago
Posts: 3, Visits: 5
Hi,
I have a 3d scatter chart and I'm trying to enable the trackball/zoom/move interactivity elements.
based on the sample, I should set
ChartControl1.Controller.Tools.Add(new NTrackballTool());

this does not work.
what am I missing?



Nevron Support
Posted 6 Years Ago
View Quick Profile
Supreme Being

Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)

Group: Forum Members
Last Active: Last Year
Posts: 3,039, Visits: 3,746
Hi Eli,
You also need to add a tool which designates the current chart - so the code should look like:

nChartControl1.Controller.Tools.Add(new NPanelSelectorTool());
nChartControl1.Controller.Tools.Add(new NTrackballTool());

The reason for this is that since the chart supports rotation (trackball) on multiple charts the first tool selects the chart at the current mouse position and the second actually performs the rotation. Hope this helps - let us know if you have any questions or meet any problems.

Best Regards,
Nevron Support Team





Similar Topics


Reading This Topic