I have to create severals reports with process dashboard using the plug-in method ( jsp,HSQL, etc), I had read the code for the example report, but my doubt is if is posible to reuse graphs of dashboard and if is posible to call some functions, for example to call a method to obtain the PQI for a product, etc
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Precomputed metrics such as PQI are currently available via the pdash.data object. For an example of the use of this object, look at the planSummary.jsp example.
The graphing logic in the dashboard comes in several layers.
At the core layer, the dashboard makes use of the open-source JFreeChart charting library. You can use that library as well, and rely on the library being present in your classpath at runtime. To ensure compatibility, you should compile against the same version of JFreeChart that the dashboard uses (currently JFreeChart 1.0.19).
The dashboard also contains a layer of logic on top of JFreeChart that it uses to generate charts; but that layer is not currently reusable in a simple manner. Instead, you may wish to consider options such as Cewolf (a tag library that assists you with embedding JFreeChart images within a JSP).
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have to create severals reports with process dashboard using the plug-in method ( jsp,HSQL, etc), I had read the code for the example report, but my doubt is if is posible to reuse graphs of dashboard and if is posible to call some functions, for example to call a method to obtain the PQI for a product, etc
Precomputed metrics such as PQI are currently available via the
pdash.data
object. For an example of the use of this object, look at theplanSummary.jsp
example.The graphing logic in the dashboard comes in several layers.
At the core layer, the dashboard makes use of the open-source JFreeChart charting library. You can use that library as well, and rely on the library being present in your classpath at runtime. To ensure compatibility, you should compile against the same version of JFreeChart that the dashboard uses (currently JFreeChart 1.0.19).
The dashboard also contains a layer of logic on top of JFreeChart that it uses to generate charts; but that layer is not currently reusable in a simple manner. Instead, you may wish to consider options such as Cewolf (a tag library that assists you with embedding JFreeChart images within a JSP).