Search found 14 matches

by swesty
Wed Jun 09, 2010 9:43 pm
Forum: VCL
Topic: How to use Spline with Period and PeriodStyle properties ??
Replies: 3
Views: 4915

Re: How to use Spline with Period and PeriodStyle properties ??

Yeray, Thank you for the reply. Usually the most obvious things are the hardest to see!! I have tried this and I can only ever get a maximum value of 601 points regardless of factor so I am assuming that must be some internal maximum ? For example if I have 3 points and set factor to 1000 and 2000 I...
by swesty
Wed Jun 09, 2010 5:22 am
Forum: VCL
Topic: How to use Spline with Period and PeriodStyle properties ??
Replies: 3
Views: 4915

How to use Spline with Period and PeriodStyle properties ??

Hello Steema, I have a query regarding how to set the period of a Spline function. At the moment I am doing the following but I only get 28 points even though I have set Period to 5000 and PeriodStyle to psNumPoints. Any clues would be great. The reason I am asking is that I previously asked how to ...
by swesty
Tue Oct 13, 2009 12:32 am
Forum: VCL
Topic: How to make sure TLineSeries ValueIndex is returned.
Replies: 2
Views: 4142

Re: How to make sure TLineSeries ValueIndex is returned.

Answered my own question. Draw the LineSeries as the last series and it will be on top.
by swesty
Tue Oct 13, 2009 12:28 am
Forum: VCL
Topic: How to make sure TLineSeries ValueIndex is returned.
Replies: 2
Views: 4142

How to make sure TLineSeries ValueIndex is returned.

Hi, I have a TChart and on it I draw a TLineSeries and a TAreaSeries. How can I make sure I get the ValueIndex of the TLineSeries in the OnClick event if the TAreaSeries overlaps the TLineSeries?? What happens currently is that the ValueIndex always returns 0 when I draw both the TAreaSeries and the...
by swesty
Tue Sep 01, 2009 8:04 am
Forum: VCL
Topic: TeeChart for Delphi 2010
Replies: 13
Views: 15784

Re: TeeChart for Delphi 2010

Narcís,

Ok thanks for the clarification. I should have thought about that before the question. I can now see the advantage of also getting the source code as part of the license.

Cheers.
by swesty
Tue Sep 01, 2009 4:48 am
Forum: VCL
Topic: TeeChart for Delphi 2010
Replies: 13
Views: 15784

Re: TeeChart for Delphi 2010

I am also interested to hear it is close but would also like to know if we can simply copy existing Delphi version folders and implement a manual installation of say Delphi 2009 packages into Delphi 2010? Is there any way of retro fitting the existing Delphi 2009 package for use under Delphi 2010 ? ...
by swesty
Wed Mar 04, 2009 9:55 pm
Forum: VCL
Topic: Dynamic TAnnotationTool Autosize=false makes text disappear?
Replies: 2
Views: 4326

Hi Yeray, Thanks so much for the information. I must admit with the first point you have noted I basically copied code from a previous forum article and that's why PositionUnits is in the AfterDraw because that is what was suggested. The forum article I am referring to is http://www.teechart.net/sup...
by swesty
Wed Mar 04, 2009 4:30 am
Forum: VCL
Topic: Dynamic TAnnotationTool Autosize=false makes text disappear?
Replies: 2
Views: 4326

Dynamic TAnnotationTool Autosize=false makes text disappear?

Hi Steema, I am new to the TAnnotationTool but I have found an interesting problem. If I use the following code it works fine. TMYForm.FormCreate ; begin SetLength(SieveAnnotation,12) ; for i := 0 to 11 do begin SieveAnnotation := TAnnotationTool.Create(self) ; SieveAnnotation .Brush.Color:=clWhite;...
by swesty
Thu Feb 19, 2009 11:53 am
Forum: VCL
Topic: Specific Spline X value required at Y Maximum
Replies: 9
Views: 10671

Yeray, Thanks for that. Perfect. Works fine now. One thing though, I have used Delphi since Delphi 1 and your standard components as part of Delphi since I can't remember but I have never put my AddSeries before I have processed the points into the actual series. Is this standard practice ? I am sur...
by swesty
Wed Feb 18, 2009 10:19 pm
Forum: VCL
Topic: Specific Spline X value required at Y Maximum
Replies: 9
Views: 10671

I should mention I uploaded via the upload page.

Thanks,
Steve
by swesty
Wed Feb 18, 2009 10:19 pm
Forum: VCL
Topic: Specific Spline X value required at Y Maximum
Replies: 9
Views: 10671

Hi Narcís,

I have uploaded an app as requested. Very basic but does do what I have tried to explain in this post so far. The file I have uploaded is called TestofSplineExampleApp.zip

Cheers,
Steve
by swesty
Wed Feb 18, 2009 11:49 am
Forum: VCL
Topic: Specific Spline X value required at Y Maximum
Replies: 9
Views: 10671

The lines shown as MDRPointSeries.AddXY(5.5,1.85,'',clTeal) ; MDRPointSeries.AddXY(6.5,1.90,'',clTeal) ; MDRPointSeries.AddXY(7.5,1.95,'',clTeal) ; MDRPointSeries.AddXY(8.5,1.91,'',clTeal) ; should read MDRPointSeries[LabNoIndex].AddXY(5.5,1.85,'',clTeal) ; MDRPointSeries[LabNoIndex].AddXY(6.5,1.90,...
by swesty
Wed Feb 18, 2009 11:46 am
Forum: VCL
Topic: Specific Spline X value required at Y Maximum
Replies: 9
Views: 10671

Yeray, Thanks for the reply. I should have included a little more information on how I use the spline function. I have tried the method shown in your reply but I have had no luck as the TSmoothingFunction gives me no data in my series. Here is what I have so far....... unit testofspline ; // procedu...
by swesty
Wed Feb 18, 2009 5:38 am
Forum: VCL
Topic: Specific Spline X value required at Y Maximum
Replies: 9
Views: 10671

Specific Spline X value required at Y Maximum

Hi Steema,

I have just purchased the latest VCL Pro version and have implemented a Spline function which works perfectly. My next requirement is to get a specific X value from the Y Maximum of the spline. Is this possible and if so how do I achieve this ?

Thanks,
Steve West