Gaussian distribution

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
mtspp
Newbie
Newbie
Posts: 12
Joined: Mon Oct 04, 2004 4:00 am

Gaussian distribution

Post by mtspp » Thu Dec 22, 2005 12:55 pm

Is it possible to tell a TCHart to draw bars in a Chart with Values which he sorts in the order of a Gaussian distribution. I also would like to draw an original Gaussian distribution as fast line over these bars.

Thanks for any ideas

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Thu Dec 22, 2005 2:28 pm

Hi mtspp,

I'm afraid this is not currently available, I'll add your request to our wish-list to be considered for future releases.

In the meantime, you could do that manually processing your series values after them being populated. You could create a fake series for the gaussian distribution and make the original series not visible. You could retrieve original series values using TChartSeries.XValues and TChartSeries.YValues TChartValueLists.

For the line over the bars you could use a TCurveFittingFunction which constructs a polynomial line based on its DataSource Series values. The algorithm used to fit the points is a Gaussian Polynomial.
Best Regards,
Narcís Calvet / 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