|
|
Re: Bell Curve Chart in BIRT [message #966141 is a reply to message #957244] |
Wed, 31 October 2012 19:54 |
andrew smith Messages: 43 Registered: February 2012 |
Member |
|
|
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.05704 seconds