...
The ChartBeansSystemListener will look to the chartbeans-_config.xml configuration file (in <solutions>system/chartbeans directory) for a series of beans that identify the plugin classes to load and hand over to the ChartFactory. The entries look similar to the example below:
Code Block | ||
---|---|---|
| ||
<beanConfig> <bean id="FlashChartEngine" class="org.pentaho.chart.plugin.openflashchart.OpenFlashChartPlugin"/> <bean id="JFreeChartEngine" class="org.pentaho.chart.plugin.jfreechart.JFreeChartPlugin"/> </beanConfig> |
The example code above loads the two default chart plugins that exist in the platform today - the Flash chart plugin and the JFreeChart chart plugin.
...
Code Block | ||
---|---|---|
| ||
<bean id="JFreeChartEngine" class="org.blah.charts.MyJFreeChartPlugin"/>
|
...