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
Gaussian distribution
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
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.
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 |
Instructions - How to post in this forum |