Search found 40 matches

by Richard
Tue Apr 28, 2015 1:01 am
Forum: ActiveX
Topic: how to create teechart in a subthread in mfc
Replies: 5
Views: 15010

Re: how to create teechart in a subthread in mfc

Hello, how about create teechart dynamically in my subthread.please tell me how to create teechart in a subthread.By the way, My version is Teechart Pro version5. I attached a test application for you here. Have you tried it? http://www.teechart.net/support/viewtopic.php?p=68984#p68984 yes,i have t...
by Richard
Mon Apr 27, 2015 12:32 pm
Forum: ActiveX
Topic: how to create teechart in a subthread in mfc
Replies: 5
Views: 15010

Re: how to create teechart in a subthread in mfc

Hello Richard, I don't see anything wrong in the code if the series is created and the ampR[1] array is created and populated. Just note TeeChart isn't thread safe so you should take care of it preventing the chart to be repainted from one thread and modified from another thread. If you still find ...
by Richard
Mon Apr 27, 2015 8:42 am
Forum: ActiveX
Topic: how to create teechart in a subthread in mfc
Replies: 5
Views: 15010

how to create teechart in a subthread in mfc

I want to use teechart to draw powersprectrum in my application which is based on MFC. In my subthread,it occurs the error "access violation at address in module 'TeeChart5.ocx'",i don't know how to solve this problem.Anyone can tell me how to solve this problem,please. My code as follow: UINT CEEG_...
by Richard
Mon Apr 27, 2015 8:35 am
Forum: ActiveX
Topic: Adding TChart at runtime
Replies: 3
Views: 12621

Re: Adding TChart at runtime

I want to know how to Create ActiveX TChart component at Runtime on MFC app (Form),please tell me, my email 406474093@qq.com
by Richard
Thu Jun 17, 2010 2:46 am
Forum: .NET
Topic: logarithmic axes problem
Replies: 2
Views: 5446

Re: logarithmic axes problem

Hi, Narcís
Thanks your help.
The problem has been solved after I used older version.
by Richard
Thu Jun 03, 2010 9:25 am
Forum: .NET
Topic: Get a smooth line
Replies: 7
Views: 10219

Re: Get a smooth line

Hi Narcís,

It is from "GEOFLTR MFC Application".
Can teecahrt get the chart?

Thanks your help again.
by Richard
Thu Jun 03, 2010 9:00 am
Forum: .NET
Topic: logarithmic axes problem
Replies: 2
Views: 5446

logarithmic axes problem

I want Bottom axes like this picture.
Image

And this my setting:
logarithmic is true, Log base is 10, and inverted is true.
But I get this chart.
Image

Is there any way to change the width?
Please tell me.
by Richard
Thu Jun 03, 2010 5:23 am
Forum: .NET
Topic: Get a smooth line
Replies: 7
Views: 10219

Re: Get a smooth line

Hi Narcís, I've reset the link. https://docs.google.com/leaf?id=0B__elUx87-MANGI0N2JhOWQtYWRlNi00ZTAyLThiNTgtYjUyYmU2YjlmNmEx&hl=en I think it doesn't have any algorithm. User key in coordinates then get a chart that I want. For example, user key in 4 points (0,10), (1,5), (2,5), (3,1). If I use smo...
by Richard
Wed Jun 02, 2010 2:43 am
Forum: .NET
Topic: Get a smooth line
Replies: 7
Views: 10219

Re: Get a smooth line

Hi Narcís I've tried increasing function's factor property, but it didn't work. This is an example that I made: https://docs.google.com/leaf?id=0B__elUx87-MANGI0N2JhOWQtYWRlNi00ZTAyLThiNTgtYjUyYmU2YjlmNmEx&hl=en The datasource of line2 is from line1, function's factor property is 40, and interpolate...
by Richard
Tue Jun 01, 2010 6:07 am
Forum: .NET
Topic: Get a smooth line
Replies: 7
Views: 10219

Get a smooth line

I want to get a chart like this picture..(the line is smooth) http://img694.imageshack.us/img694/9400/rightp.gif But I can't do it. If I use smoothing function, I'll get this chart... http://img340.imageshack.us/img340/7167/wrong.gif Is there any way to get the chart like the first picture? Please t...
by Richard
Thu Jan 08, 2009 2:48 am
Forum: VCL
Topic: how to let one Annotation responsed to Click or doubleclick
Replies: 7
Views: 10268

procedure TMainForm.ResetChart; var tmpEmpty:TChart; begin Chart1.RemoveAllSeries; Chart1.Tools.Clear; tmpEmpty:=TChart.Create(nil); try tmpEmpty.AllowZoom:=False; tmpEmpty.AllowPanning:=pmNone; tmpEmpty.Color:=clWhite; Chart1.Assign(tmpEmpty); finally tmpEmpty.Free; end; end; procedure TMainForm.B...
by Richard
Wed Jan 07, 2009 9:59 am
Forum: VCL
Topic: how to let one Annotation responsed to Click or doubleclick
Replies: 7
Views: 10268

procedure TForm1.FormCreate(Sender: TObject); begin Chart1.RemoveAllSeries; Chart1.Tools.Clear; chart1.tools.add(Tannotationtool); chart1.tools.add(Tannotationtool); chart1.tools.add(Tannotationtool); chart1.tools.add(Tannotationtool); end; when i click one annatation , how to reponse with mouseEve...
by Richard
Wed Jan 07, 2009 9:27 am
Forum: VCL
Topic: how to let one Annotation responsed to Click or doubleclick
Replies: 7
Views: 10268

thanks a lot for your response.

i dynamicly add many annotationtool in order to show some text. and how can i dynamicly text.i can't find the property.

do you have other good way to solve this problem that i only want to show some digital numer and text dynamicly.
by Richard
Wed Jan 07, 2009 8:01 am
Forum: VCL
Topic: how to let one Annotation responsed to Click or doubleclick
Replies: 7
Views: 10268

how to let one Annotation responsed to Click or doubleclick

i add two annotations on one chart,when click one annotation,how to response with one funciton.

showMessage('this is one annation') or do other things

thanks a lot
by Richard
Wed Feb 13, 2008 1:49 am
Forum: ActiveX
Topic: display chart in MFC CScrollView.
Replies: 3
Views: 7227

It is resolved.Thanks a lot.:)