Bell Curve Chart in BIRT [message #957244] |
Thu, 25 October 2012 00:57  |
Eclipse User |
|
|
|
Hi everyone,
Does anybody know how to generate Bell Curve (a.k.a normal distribution) chart in BIRT? This is not a built-in chart type.
Thanks in advance.
Mark
[Updated on: Thu, 25 October 2012 06:30] by Moderator
|
|
|
|
Re: Bell Curve Chart in BIRT [message #966141 is a reply to message #957244] |
Wed, 31 October 2012 15:54   |
Eclipse User |
|
|
|
Here is what I would recommend on this:
all you need is a series of x,y pairs which when plotted produce the scatter plot.
The scatter plots are indeed supported by BIRT and BIRT is an excellent tool for plotting. Further BIRT's charging capabilities can be extended as well.
The following are the steps that you need to do:
1) Given \sigma (standard dev) and \mu (mean of the distribution), generate values of x that cover the region of interest. For example you could start with the following X vector: [-5,-4.9,....4.9,5]
2) Now that you have your x values, stick every one of them into the equation for normal destribution, so that you can produce correspoding y-values.
NOTE: now you have x,y pairs that define your distribution.
3) Next create a scripted data source. There is an excellent example on that on the BIRT's website
4) Next use scatter or a line chart and use your scripted datasource.
5) Once you run the report, you will see the normal distribution...
Hope this helps...
|
|
|
|
Powered by
FUDForum. Page generated in 0.25168 seconds