Search found 4 matches

by chousand
Thu Jun 14, 2007 1:38 pm
Forum: .NET
Topic: Problem panning 2D chart
Replies: 4
Views: 6069

Thanks for the suggestion. That's more or less what I ended up doing using disassembled pieces of the Commander as guidance. Only took a few minutes to implement the 4 buttons I needed and it seems to work just fine.
by chousand
Thu Jun 14, 2007 6:53 am
Forum: .NET
Topic: Problem panning 2D chart
Replies: 4
Views: 6069

OK, this just seems to be the way the commander works... I disassembled the DoMove() method in the commander and found this: private void DoMove(int X, int Y) { this.Set3D(); this.Panel.Aspect.HorizOffset += X - this.oldX; this.Panel.Aspect.VertOffset += Y - this.oldY; this.oldX = X; this.oldY = Y; ...
by chousand
Thu Jun 14, 2007 5:50 am
Forum: .NET
Topic: Problem panning 2D chart
Replies: 4
Views: 6069

Here's another clue: I'm using a TeeChartCommand and I only get this weird behavior when the commander is attached to the chart. When I comment out the line in my code that assigns a value to the TeeChartCommander.Chart property, the right-mouse panning works as expected. You can duplicate this prob...
by chousand
Thu Jun 14, 2007 4:54 am
Forum: .NET
Topic: Problem panning 2D chart
Replies: 4
Views: 6069

Problem panning 2D chart

I have a 2D line chart in my application. The only tool I have added is the "marks tip" tool. Piror to upgrading to .Net V3, i dind't have any problems with panning using the right mouse button. But after the upgrade, when I right mouse click and start to pan, the chart immediately "jumps" in to 3D ...