Search found 203 matches

by David
Tue Jul 09, 2013 5:47 am
Forum: ActiveX
Topic: chart SetVisible affects Annotation
Replies: 1
Views: 6549

chart SetVisible affects Annotation

I got two charts and I use chart.SetVisible to switch between the displays. I have both colorband and annotations on both charts and the chart that got initially displayed can show the Annotations correctly, but when I switch between the two charts, all Annotations were gone. Would any please sugges...
by David
Mon Jun 25, 2012 8:54 am
Forum: ActiveX
Topic: To append data in real time, AddRealtime or AddArray?
Replies: 1
Views: 6732

To append data in real time, AddRealtime or AddArray?

I am trying to continuously append recently acquired data (each time 2K per series, 3 series in total), and the series type I used is FastLine. To use AddRealtime, I could save the last x, and start plot the new data from x+dx. However, if I use AddArray, I had to save all the previous data and plot...
by David
Tue Aug 02, 2011 1:58 am
Forum: ActiveX
Topic: How to get the first and last data index in chart?
Replies: 1
Views: 5360

How to get the first and last data index in chart?

Hi, after zooming in the display, I would like to get the first and last data index shown in the chart. Would anyone please tell me how to do it with sample codes? Thanks.
by David
Sat Jan 29, 2011 3:32 pm
Forum: ActiveX
Topic: Urgent: Teechart 2010 tchart.h problem
Replies: 10
Views: 18903

Re: Urgent: Teechart 2010 tchart.h problem

First of all, I don't have VC6. Secondly, even if I had VC6, I don't think it is acceptable to build future projects in VC6 first and convert to VS2008. Thirdly, I have been using Teechart 8 for a long time in VS2008 and everything worked fine, so I really think there is something wrong with the 201...
by David
Fri Jan 28, 2011 3:11 pm
Forum: ActiveX
Topic: Urgent: Teechart 2010 tchart.h problem
Replies: 10
Views: 18903

Re: Urgent: Teechart 2010 tchart.h problem

I could follow what you want. Would you please list what you want me to do step by step? Also, I am not sure if you are addressing my initial problem, which is the erro of redefinition of CTChart class when two header files that both include tchart.h are included in the same cpp file.
by David
Tue Jan 25, 2011 2:28 pm
Forum: ActiveX
Topic: Urgent: Teechart 2010 tchart.h problem
Replies: 10
Views: 18903

Re: Urgent: Teechart 2010 tchart.h problem

I tried to open the projects under Visual C++\version 6\ with VS2008, and after the conversion to VS2008, the adding data arrays and drag points demo had errors when I tried to open the resource to check the dialog. The error screens are attached. I reinstalled ver2010 again and the problems remaine...
by David
Mon Jan 24, 2011 2:30 pm
Forum: ActiveX
Topic: Urgent: Teechart 2010 tchart.h problem
Replies: 10
Views: 18903

Re: Urgent: Teechart 2010 tchart.h problem

Attached is the test program that will generate the error. It is a VS2008 project. In the testView.cpp, I included two header files #include "Chart1.h" #include "Chart2.h" The error occured when I compiled it. Also, when I opened the demo project "Add data arrays" using vs2008 and compiled it, quite...
by David
Sun Jan 23, 2011 2:52 pm
Forum: ActiveX
Topic: Urgent: Teechart 2010 tchart.h problem
Replies: 10
Views: 18903

Re: Urgent: Teechart 2010 tchart.h problem

Would anyone please give some suggestions? It is really urgent.

In each of the two header files, I declared a CTChart varialbe and when I included both in a cpp, the compile error occurs.
by David
Fri Jan 21, 2011 7:12 am
Forum: ActiveX
Topic: Urgent: Teechart 2010 tchart.h problem
Replies: 10
Views: 18903

Urgent: Teechart 2010 tchart.h problem

I included tchart.h in two headers files that are both included in a cpp file, and when compiling, an error occured: "error C2011: 'CTChart' : 'class' type redefinition". I compared the 2010 version of tchart.h and v8 tchart. h and noticed that the #if !defined(AFX_TCHART_H__1C6F492E_029C_4867_A215_...
by David
Mon Nov 08, 2010 12:49 pm
Forum: ActiveX
Topic: Chinese characters display error
Replies: 9
Views: 14889

Re: Chinese characters display error

I have tested the fixed version and it works well with all words displayed correctly. So can I distribute the file you sent me instead?
by David
Mon Nov 08, 2010 10:05 am
Forum: ActiveX
Topic: Chinese characters display error
Replies: 9
Views: 14889

Re: Chinese characters display error

I dind't receive email other the email notification from the forum.
by David
Sun Nov 07, 2010 7:43 am
Forum: ActiveX
Topic: Chinese characters display error
Replies: 9
Views: 14889

Re: Chinese characters display error

email sent. Thanks.
by David
Wed Nov 03, 2010 6:44 am
Forum: ActiveX
Topic: Chinese characters display error
Replies: 9
Views: 14889

Chinese characters display error

I have read the post http://www.teechart.net/support/viewtopic.php?t=6339 using CodeUTF8String, but the error still exists when I added Chinese for axis title. I am using TeeChartAX8Unicode version. The code I use is m_chart1.GetAxis().GetBottom().GetTitle().SetCaption(m_chart1.GetEnvironment().Code...
by David
Tue Jul 06, 2010 9:58 am
Forum: ActiveX
Topic: How to control the displayed number of digit number
Replies: 3
Views: 7392

Re: How to control the displayed number of digit number

Noted with thanks.
by David
Tue Jul 06, 2010 3:28 am
Forum: ActiveX
Topic: How to control the displayed number of digit number
Replies: 3
Views: 7392

Re: How to control the displayed number of digit number

Problem solved with m_chart1.GetAxis().GetLeft().GetLabels().SetValueFormat("0.0000");