SAR Function working?

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
dave
Newbie
Newbie
Posts: 40
Joined: Tue Dec 07, 2010 12:00 am

SAR Function working?

Post by dave » Thu Mar 31, 2011 5:55 pm

Is the SAR function working in the latest release? I notice that if I change the Acceleration Factor the chart does not change. Same thing happens in the VS2010 demo program.

This is a screenshot of the SAR function in your demo. I have changed the number of points from 10 to 50. The top image has the default .02 Acceleration factor. The second image has an Acceleration Factor of .05. The chart does not change at all. Likewise, in my application when I draw a new SAR with .02 and then draw a second one with .05, the resulting lines match, with no differences.

For one last question, I would like to get this to show up as points, not a line connecting the points. Do you have an easy way to do that? I did not see anything in the code in the sample that produced the points.
SAR02.gif
SAR with .02 acceleration factor
SAR02.gif (60.93 KiB) Viewed 2893 times
SAR05.gif
SAR with .05 Acceleration Factor
SAR05.gif (60.87 KiB) Viewed 2894 times

Sandra
Site Admin
Site Admin
Posts: 3132
Joined: Fri Nov 07, 2008 12:00 am

Re: SAR Function working?

Post by Sandra » Fri Apr 01, 2011 10:02 am

Hello dave,
Is the SAR function working in the latest release? I notice that if I change the Acceleration Factor the chart does not change. Same thing happens in the VS2010 demo program.

This is a screenshot of the SAR function in your demo. I have changed the number of points from 10 to 50. The top image has the default .02 Acceleration factor. The second image has an Acceleration Factor of .05. The chart does not change at all. Likewise, in my application when I draw a new SAR with .02 and then draw a second one with .05, the resulting lines match, with no differences.
Using demo example and zooming a zone I have gotten next images, using last version of Teechart.Net :
S.A.R1.jpg
S.A.R1.jpg (150.51 KiB) Viewed 2869 times
S.A.R2.jpg
S.A.R2.jpg (159.63 KiB) Viewed 2869 times
The first image acceleration factor is 0.5 and in second is 0.2 and results are different for me. Could you please, check if in last version of Teechart.Net works as you expected?
For one last question, I would like to get this to show up as points, not a line connecting the points. Do you have an easy way to do that? I did not see anything in the code in the sample that produced the points.
If you want see only pointer of line you can set the Line Pen not visible, as do next:

Code: Select all

line1.LinePen.Visible= false; 

Thanks,
Best Regards,
Sandra Pazos / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply