Page 1 of 1

Custom Axis and Axis tool / Axis scroll tool cause Exception

Posted: Mon Oct 24, 2005 6:44 pm
by 9637279
Hi All,

Custom Axis and the "Axis Arrow" tool or the "Axis scroll tool"
don't work together. (using a plain .NET windows application with
TChart .NET 2.0 latest version 2.0.2040.15119).

When I use the "Editor" to add either of these tools to my vertical left
Custom Axis it first looks like it added it. But it is in-effective. Then when I try to edit it again I get an Exception in the Editor just
by clicking on the Axis Arrow or Axis scroll tool in the list of added
tools.

Also, the 'Hand' cursor that is supposed to show with the "Axis scroll tool"
doesn't show when a custom axis is added. (It should show when the mouse is over the axis associated with the 'Axis scroll tool'.

Is there any work-around through dynamic coding?

Thanks,
Norman

Posted: Mon Oct 24, 2005 11:10 pm
by 9637279
I noticed that I can bypass the editor and add the code into the 'initializecomponents' method of the .NET C# code ... for
"Axis Scroll"

HOWEVER: I found that when you add axis-scroll to your axis, only the LAST one added will show the 'Hand' cursor. Not the others.

How can I make it show the 'Hand' cursor for all axes that have an axis-scroll associated with them?

Posted: Tue Oct 25, 2005 10:24 am
by narcis
Hi fano,
When I use the "Editor" to add either of these tools to my vertical left
Custom Axis it first looks like it added it. But it is in-effective. Then when I try to edit it again I get an Exception in the Editor just
by clicking on the Axis Arrow or Axis scroll tool in the list of added
tools.


I've checked that this works fine here using the latest Debug Build available.
Also, the 'Hand' cursor that is supposed to show with the "Axis scroll tool"
doesn't show when a custom axis is added. (It should show when the mouse is over the axis associated with the 'Axis scroll tool'.

Is there any work-around through dynamic coding?


I've been able to reproduce this and have seen that those tools doesn't work with custom axes. I've added the defect (TF02011043) to our bug list to be fixed future releases.
HOWEVER: I found that when you add axis-scroll to your axis, only the LAST one added will show the 'Hand' cursor. Not the others.

How can I make it show the 'Hand' cursor for all axes that have an axis-scroll associated with them?
I've also been able to reproduce this and added the issue (TF02011044) to our bug list as well.