Hello,
I am using the latest 2015 version and it looks like the smoothing function does not perform any more when working with TPoint series? Attached is a simple example, if I click the button I get a strange straight line only.
Regards
Problem with Smoothing function
Problem with Smoothing function
- Attachments
-
- Sample.zip
- (2.6 KiB) Downloaded 768 times
Re: Problem with Smoothing function
Hello,
Could you please tell us with what TeeChart version this sample behaves different?
Thanks in advance.
Could you please tell us with what TeeChart version this sample behaves different?
Thanks in advance.
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
Re: Problem with Smoothing function
Hello,
I am using the latest TeeChart 2015.14.150120. If I use another series type like Line series it works ok.
Regards
I am using the latest TeeChart 2015.14.150120. If I use another series type like Line series it works ok.
Regards
Re: Problem with Smoothing function
Hello,
Try this:
Try this:
Code: Select all
type
TSeriesAccess=class(TChartSeries);
procedure TForm1.Button1Click(Sender: TObject);
begin
TSeriesAccess(Chart6[1]).SetHorizontal;
Chart6[1].FillSampleValues(20);
teefunction1.ReCalculate;
end;
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
Re: Problem with Smoothing function
Hello Yeray,
Thank you very much for looking into this. I implemented your suggestion in my app and it works ok but I need to ask, is this a temporary fix or this is by design the way point series should be used with smoothing function?
Regards
Thank you very much for looking into this. I implemented your suggestion in my app and it works ok but I need to ask, is this a temporary fix or this is by design the way point series should be used with smoothing function?
Regards
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: Problem with Smoothing function
Hello johnnix,
This is by design. TPointSeries is a vertical series while, in your example, you are using a THorizLineSeries, which is a horizontal series. Given that, you need to make the point series to be horizontal so it can work with an horizontal line series.
This is by design. TPointSeries is a vertical series while, in your example, you are using a THorizLineSeries, which is a horizontal series. Given that, you need to make the point series to be horizontal so it can work with an horizontal line series.
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
Re: Problem with Smoothing function
Hello Narcis,
Thank you very much for the clarification and quick answers.
Regards
Thank you very much for the clarification and quick answers.
Regards