Search found 12 matches

by Hari
Thu Jul 29, 2010 6:27 pm
Forum: ActiveX
Topic: Application built using TeeChart fails to start
Replies: 3
Views: 4739

Re: Application built using TeeChart fails to start

Hi. I registered the "TeeChart8.ocx" file but i am still getting the same error when i run the application. I have made sure that the .ocx file and the application are present in the same folder. Should i change some project settings before i build the application? I am building the MFC as a shared ...
by Hari
Wed Jul 28, 2010 9:39 pm
Forum: ActiveX
Topic: Application built using TeeChart fails to start
Replies: 3
Views: 4739

Application built using TeeChart fails to start

Hi. I have created an application using TeeChart ActiveX 8.0 in C++. When i run that application in another PC which doesn't have TeeChart, it fails to start and the error i get is: This application has failed to start because mfc42d.dll was not found. Re-installing the application may fix this prob...
by Hari
Tue Jul 27, 2010 6:38 pm
Forum: ActiveX
Topic: Usage of standard deviation function
Replies: 6
Views: 7534

Re: Usage of standard deviation function

Hi Yeray. I am using the latest ActiveX version 8. I guess i found out the problem. The problem is with the SetPeriod(). My line series has 61400 points. If i set the period for standard deviation to 61400 or 50000, it shows the value as 0. However if i set the period to say 30000, it displays 2 val...
by Hari
Mon Jul 26, 2010 5:19 pm
Forum: ActiveX
Topic: Usage of standard deviation function
Replies: 6
Views: 7534

Re: Usage of standard deviation function

Hi Yeray. I already tried exactly what you said. It does not work for standard deviation. It displays the values as 0. However, the average function works fine. As i mentioned earlier, the tutorial says that number of inputs for std. deviation is 1 and it is described as "Maps the Standard Deviation...
by Hari
Mon Jul 26, 2010 5:09 pm
Forum: ActiveX
Topic: Not able to set color for point series
Replies: 3
Views: 4634

Re: Not able to set color for point series

@Yeray

Thanks for the reply. I am able to change the color now :)

Hari
by Hari
Fri Jul 23, 2010 8:05 pm
Forum: ActiveX
Topic: Usage of standard deviation function
Replies: 6
Views: 7534

Usage of standard deviation function

I am using Activex v8 version of TeeChart. I have a line series and i want to display the average and standard deviation for that series as a text (annotation tool). I was able to use the "m_chart.Series(index).SetFunction(tfAverage)" to find the average. I then disabled this series and used "GetYVa...
by Hari
Fri Jul 23, 2010 7:54 pm
Forum: ActiveX
Topic: Not able to set color for point series
Replies: 3
Views: 4634

Not able to set color for point series

I am using Activex v8 version of TeeChart. I am using "scPoint" to display a few points and i am setting the point style as "psCross". However when i set the color to red (or any other color), the "cross" is always displayed in black color. Is the "SetColor" disabled for this style? However, i am ab...
by Hari
Thu Jul 22, 2010 6:14 pm
Forum: ActiveX
Topic: Error in memory location at "0x00000000"
Replies: 8
Views: 8458

Re: Error in memory location at "0x00000000"

Hi Yeray. I tried setting AutoRepaint to false before AddArray and setting it true again. However the problem still persists. Along with the error in memory location "0x00000000", i am also getting the error: Debug assertion failed! Program: c:\proj\test.exe File: cmdtarg.cpp Line: 52 I am guessing ...
by Hari
Thu Jul 22, 2010 5:28 pm
Forum: ActiveX
Topic: Error in memory location at "0x00000000"
Replies: 8
Views: 8458

Re: Error in memory location at "0x00000000"

Hi Yeray. I will try setting AutoRepaint to false and check if it solves the problem. Another option would be looping you array and add you values one by one with AddXY or AddXYZ method I tried AddXY but the program becomes very slow since i have more than 250,000 values in each plot and i am plotti...
by Hari
Wed Jul 14, 2010 5:17 pm
Forum: ActiveX
Topic: Error in memory location at "0x00000000"
Replies: 8
Views: 8458

Re: Error in memory location at "0x00000000"

Have you seen the exampe at C:\Program Files\Steema Software\TeeChart Pro v8 ActiveX Control\Examples\Visual C++\Version 6\Add data arrays? I am using the similar method as given in the example. I am repeating the example code 7 times to plot 7 different charts. In spite of that, i am getting the a...
by Hari
Tue Jul 13, 2010 6:46 pm
Forum: ActiveX
Topic: Error in memory location at "0x00000000"
Replies: 8
Views: 8458

Re: Error in memory location at "0x00000000"

Hi Yeray. I am using COleSafeArray to store the data for all my charts and i guess this is causing some problem. Even though i am using the "COleSafeArray::Destroy()" at the end, the memory is not cleared and this might be causing the memory issue. It would be great if you can throw some light on th...
by Hari
Mon Jul 12, 2010 7:46 pm
Forum: ActiveX
Topic: Error in memory location at "0x00000000"
Replies: 8
Views: 8458

Error in memory location at "0x00000000"

I am using Activex version of TeeChart to plot a few charts with the data taken from a text file. I am using "fopen" and "fgets" functions to read the data and i am storing them in a safe array (similar method as given in "add data arrays" example for Visual C++). I am getting the following error (4...