Search found 7 matches

by qanta
Mon Mar 06, 2006 1:44 pm
Forum: ActiveX
Topic: passing TChart Activex as parameter in C#
Replies: 1
Views: 3278

OK nevermind, I've found out how to do this. For anyone interested: Visual C# .net creates a wrapper for any activex control dropped into a form. A new dll is created in the debug directory of the project called 'AxInterop.TeeChart.dll'. In the class you must add a reference to this file, AND to the...
by qanta
Sun Mar 05, 2006 9:03 pm
Forum: ActiveX
Topic: passing TChart Activex as parameter in C#
Replies: 1
Views: 3278

passing TChart Activex as parameter in C#

Hello, I am using Teechart ActiveX v7 in Visual C# . net (yes, I know it would be better to use the .net component, but this is not possible at the moment...). I have created the TChart component on a form, and it shows up as an 'AxTeechart.AxTChart' object. I would like to pass this object to a cla...
by qanta
Fri Apr 22, 2005 1:07 pm
Forum: ActiveX
Topic: exporting and disk space
Replies: 2
Views: 3856

OK, thanks
by qanta
Thu Apr 21, 2005 3:03 pm
Forum: ActiveX
Topic: exporting and disk space
Replies: 2
Views: 3856

exporting and disk space

I am using the export facilities of TChart AX7 to let the user save graphs to floppy (in visual basic): TChart1.Export.asJPEG.SaveToFile("A:\filename.jpg") I noticed that when the floppy is full, the function call doesn't flag an error, it creates a file of size 0 on the floppy. Is there a way to de...
by qanta
Wed Apr 20, 2005 3:20 pm
Forum: ActiveX
Topic: maxvisibleseriesvalue
Replies: 4
Views: 5920

great, that's a really good method :)

btw. I was able to find the max and mins with this function:

tchart1.series(0).valuelists.items(1).maximum

and then rotating through all the visible series.


but your method is certainly better, and more efficient :D
by qanta
Wed Apr 20, 2005 2:02 pm
Forum: ActiveX
Topic: maxvisibleseriesvalue
Replies: 4
Views: 5920

Hi, thanks for the reply (that was quick!) I have turned the automatic scaling off, because I like to add 10% of space above and below the max and min points in graph. So I am trying to find the max and min visible values in the graph in order to do this. Am I using the wrong parameters for maxvisib...
by qanta
Wed Apr 20, 2005 1:30 pm
Forum: ActiveX
Topic: maxvisibleseriesvalue
Replies: 4
Views: 5920

maxvisibleseriesvalue

Hello, I am trying to use the maxvisibleseriesvalue to calculate a max and min for the chart axis based only on the visible series. When I call the function, for example: ymax=tchart1.axis.right.maxvisibleseriesvalue(true,0) I get an error: Run-time error '-2147418113 (8000ffff) range check error. I...