Search found 6 matches

by Jesús Lucas
Wed Sep 01, 2004 2:56 pm
Forum: ActiveX
Topic: AddXY behaviour
Replies: 5
Views: 8053

Thanks for the advise, but I need to know if any other series type has the X and Y values changed. I navigated throug the help but I didn't find any more warning. This request is because I don't know in advance the series types of the chart and I thought that using AddXY would work for every type th...
by Jesús Lucas
Wed Sep 01, 2004 9:31 am
Forum: ActiveX
Topic: AddXY behaviour
Replies: 5
Views: 8053

If I have two charts and a button with this code Private Sub Command1_Click() TChart2.ChangeSeriesType 0, scHorizBar End Sub Private Sub Form_Load() With TChart1 .AddSeries scHorizBar .Series(0).AddXY 0, 10, "", clTeeColor .Series(0).AddXY 1, 4, "", clTeeColor .Series(0).AddXY 2, 12, "", clTeeColor ...
by Jesús Lucas
Tue Aug 31, 2004 2:20 pm
Forum: ActiveX
Topic: AddXY behaviour
Replies: 5
Views: 8053

AddXY behaviour

Hello, We have a problem with AddXY, we upgraded teechart from v5 to v6 some time ago, and we had discovered recently that the AddXY function behaves differently between these versions. Before, we used the AddXY function to put data the same way for horizontal and vertical bar charts, but now, with ...
by Jesús Lucas
Tue May 04, 2004 10:13 am
Forum: ActiveX
Topic: Memory leak in the v6
Replies: 4
Views: 8207

I'm glad to help :wink:
by Jesús Lucas
Tue May 04, 2004 7:31 am
Forum: ActiveX
Topic: Memory leak in the v6
Replies: 4
Views: 8207

I made a test program that consist only in an empty TChart and a button, and the code is: Private Sub Command1_Click() Dim counter As Long Dim index As Integer For counter = 1 To 5000 index = TChart1.Tools.Add(tcAnnotate) TChart1.Tools.Delete (index) Next counter End Sub This code leaks about 3500 K...
by Jesús Lucas
Mon May 03, 2004 3:51 pm
Forum: ActiveX
Topic: Memory leak in the v6
Replies: 4
Views: 8207

Memory leak in the v6

We are using TeeChart Pro v6.0.0.4 and when adding and deleting an annotation tool into a chart, it leaks aproximately 700 bytes of memory each time. Dim index As Integer index = TChart1.Tools.Add(tcAnnotate) TChart1.Tools.Delete (index) I think the Delete method does not actually delete the tool, b...