Search found 20 matches

by Sciensoria
Mon Dec 11, 2017 9:27 am
Forum: VCL
Topic: Looking for an example for THorizLine w oscilloscope curve
Replies: 7
Views: 13325

Re: Looking for an example for THorizLine w oscilloscope curve

Thank you Yeray. You have explained all my questions.

Patrick
by Sciensoria
Thu Dec 07, 2017 1:50 pm
Forum: VCL
Topic: Looking for an example for THorizLine w oscilloscope curve
Replies: 7
Views: 13325

Re: Looking for an example for THorizLine w oscilloscope curve

Thank you Yeray. I can confirm that this works.
However, I don't know why we have to do a sorting for the Yvalues for the THorizLineSeries while it is not necessary to do the same for a classic TFastLineSeries. In addition, I wonder if this slows down the plot rate.

Patrick
Sciensoria
by Sciensoria
Tue Nov 28, 2017 10:01 pm
Forum: VCL
Topic: Looking for an example for THorizLine w oscilloscope curve
Replies: 7
Views: 13325

Re: Looking for an example for THorizLine w oscilloscope curve

Dear Yeray, Thank you very much for your prompt reply. I attache my test project here. It contains 2 charts (1 and 2). On the 1st chart, I display a sinus using a TFastLineSeries at the start and click on the button underneath to make it running. This works fine. On the 2nd chart, I also display a s...
by Sciensoria
Tue Nov 28, 2017 12:45 pm
Forum: VCL
Topic: Looking for an example for THorizLine w oscilloscope curve
Replies: 7
Views: 13325

Looking for an example for THorizLine w oscilloscope curve

Hello, A FastLineSeries can run from the left to the righ and inversely in the manner of an oscilloscope. I use the following commands for a curve which runs from the left to the right: with MyFastLineSeries do begin tmpTch:=XValues[1]-XValues[0]; if (Count>100) then repeat Delete(count-1) until cou...
by Sciensoria
Tue Jan 17, 2017 9:49 am
Forum: VCL
Topic: How to plot a XY chart
Replies: 1
Views: 5503

How to plot a XY chart

Hi, I currently have an issue with plotting a XY chart. I have 2 data X and Y which are functions of time: X=X(t) and Y=Y(t). I intend to plot Y versus X over N samples and update the curve periodically. Currently the code is as follows: with Series1 do begin for i:= 0 to N-1 do begin AddXY(X(t),Y(t...
by Sciensoria
Mon Nov 24, 2014 11:31 pm
Forum: VCL
Topic: Can TeeChart 8 can be used with Delphi XE7 ?
Replies: 1
Views: 4411

Can TeeChart 8 can be used with Delphi XE7 ?

Hi, I have TeeChart 8.01 which runs quite well with Delphi 5. Now, I have just migrated to Delphi XE7 in order to make applications for Windows 7 and 8. Can TeeChart 8.01 still works ? Or I have to buy a new version of TeeChart ? What is the right version of TeeChart for XE7 ? Thank you for your adv...
by Sciensoria
Wed Oct 01, 2014 12:38 pm
Forum: VCL
Topic: How to add a Histogram
Replies: 2
Views: 6773

How to add a Histogram

Hello, This is a new subject. However, I don't know how to make a new post because I didn't find any button other than "postreply". I want to add a histogram to an existing curve on a chart. The aim is to give a statistic of the data contained in the curve. So, I intend to use a THorizLineSeries to ...
by Sciensoria
Sat May 31, 2014 12:03 am
Forum: VCL
Topic: Problem while drawing 3D contour and surface
Replies: 5
Views: 9276

Re: Problem while drawing 3D contour and surface

Hello, I come back to you for another question: how to use mouse to rotate a 3D surface. I have read the Surface_XYZFloat unit and see that you use TRotate to do it. However, I didn't find the TRotateTool component on the Delphi panels. So how to add the TRotateTool to a form even when the component...
by Sciensoria
Wed Dec 21, 2011 11:14 pm
Forum: VCL
Topic: "Clicked' method of a TLineSeries created dynamically
Replies: 7
Views: 12513

Problem with CalcPosPoint

Hello, I create a curve with the following commands: SPKT_Ch0_curve:= TFastLineSeries.Create(nil); SPKT_Ch0_curve.title:='SPKT channel 0'; SPKT_Ch0_curve.color:= SPKT_Ch0_color.brush.color; SPKT_Ch0_curve.OnClick := SPKT_Chart_OnClickLine; SPKT_Ch0_curve.FillSampleValues(SPKT_curve_length.value); SP...
by Sciensoria
Mon Nov 16, 2009 1:27 pm
Forum: VCL
Topic: Problem while drawing 3D contour and surface
Replies: 5
Views: 9276

Re: Problem while drawing 3D contour and surface

Hi Narcis, Many thanks for your help. I have just tried to add Series1.IrregularGrid:=true command but nothing changes (Series1 is a TContourSeries). I attached my project here so that you can have a look in it. When you launch the project, there are some contours due to initialization. Then you cli...
by Sciensoria
Sat Nov 14, 2009 11:28 pm
Forum: VCL
Topic: Problem while drawing 3D contour and surface
Replies: 5
Views: 9276

Problem while drawing 3D contour and surface

Hello, I currently have a problem with drawing 3D contour/surface. I try to read a file which contains 3 colums: x,y and z. While reading (using readln(textfile,x,y,z), I put the data into a Tcontour as follows: if OpenDialog1.execute then begin AssignFile(Datafile,OpenDialog1.filename); Reset(Dataf...
by Sciensoria
Mon Aug 24, 2009 8:27 am
Forum: VCL
Topic: Tchart 8 does'nt work after unstallation of Tchart 7
Replies: 1
Views: 3470

Tchart 8 does'nt work after unstallation of Tchart 7

Hello, I currently have a problem with installation. I downloaded Tchart 7 in 2007 for evaluation. The components worked well. In 2009, I've purchased Tchart 8, so the Evaluation Warning Message has dissapeared. The components continue to work well. Recently, I have removed Tchart 7 Evaluation. Afte...
by Sciensoria
Fri Jun 12, 2009 10:34 am
Forum: VCL
Topic: How to make Tchart curve run vertically ?
Replies: 1
Views: 3683

How to make Tchart curve run vertically ?

Hello, A FastLineSeries can run from the left to the righ and inversely in the manner of an oscilloscope. I use the following commands for a curve which runs from the left to the right: tmpTch:=XValues[1]-XValues[0]; if (Count>100) then repeat Delete(count-1) until count<= 100; AddXY(XValues.First-t...
by Sciensoria
Thu Mar 26, 2009 11:33 am
Forum: VCL
Topic: How to user ChartEditor to edit the data
Replies: 1
Views: 4159

How to user ChartEditor to edit the data

I want to edit the data of the curves within a TChart by ChartEditor, but don't know how to do it in runtime. In addition, I have 4 TChart in my application. How to link the ChartEditor to the right TChart ?
(The curves (TLineSeries) are also created in runtime)

Thank you in advance

Patrick
by Sciensoria
Wed Mar 25, 2009 12:01 pm
Forum: VCL
Topic: "Clicked' method of a TLineSeries created dynamically
Replies: 7
Views: 12513

Thank you

This works quite well. Thank you for your support.