Problems With Tools and Custom Axis
Posted: Mon Dec 27, 2004 8:12 am
I've just upgraded from TeeChart v5 to v7.0.0.3 and am seeing a reproducable problem with the "Tools" feature in TeeChart. When first adding a tool, for example a "color band", to a chart using the TeeEditer at design time, it is automatically identified as "ChartTool1". If you add multible tools ("color band"s), at the same time, they are all identified as "ChartTool1". This condition of mutible ChartTools with all the same identification causes TeeCharts to crash with a message of "Unexpected Error" and then the TeeChart Control is destroyed and becomes a "Picture Box" item on the form.
If you just add one Tool, then close the editor, and then reopen the editor and add another tool, this next new tool is identified as "ChartTool0", then when adding additional tools they become "ChartTool2, ChartTool3, ...etc.". The Chart will now load.
I am also haveing a problem with Custom Axis identification in my code. This is a little more complex to explain so I might post again when I have more time. Basicly though, when accessing the Min & Max axis values for a custom axis, every axis index is off by one. For example the correct Min/Max axis values for Axis.Custom(9) are found at Axis.Custom(10).
I'm in the process of upgrading two previous project from TeeChart v5 to v7 and first I tried the "upgrade utilities" but experienced these problems. Then I decided to rebuild the project from scratch using only TeeChart v7 and I am still having these problems.
Regards,
Michael Rekoff
Tallahassee, Florida USA
If you just add one Tool, then close the editor, and then reopen the editor and add another tool, this next new tool is identified as "ChartTool0", then when adding additional tools they become "ChartTool2, ChartTool3, ...etc.". The Chart will now load.
I am also haveing a problem with Custom Axis identification in my code. This is a little more complex to explain so I might post again when I have more time. Basicly though, when accessing the Min & Max axis values for a custom axis, every axis index is off by one. For example the correct Min/Max axis values for Axis.Custom(9) are found at Axis.Custom(10).
I'm in the process of upgrading two previous project from TeeChart v5 to v7 and first I tried the "upgrade utilities" but experienced these problems. Then I decided to rebuild the project from scratch using only TeeChart v7 and I am still having these problems.
Regards,
Michael Rekoff
Tallahassee, Florida USA