Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The example code above loads the two default chart plugins that exist in the p;latform platform today - the Flash chart plugin and the JFreeChart plginchart plugin.

The bean id attribute ties these chart plugins into the platform's plugin layer (the external plugin system that allows code to be deployed to the solution directory; not to be confused with chart plugins). If you would like to extend the existing chart plugins, you can create a platform plugin that extends an existing chart plugin, and the ChartBeansSystemListener will find and load your extension as an override to the default system plugins. You only need to specify your subclass as a bean in your platform plugin, with the same bean id as is listed in the chartbeans configuration file. So, in our example configuration above, I could override the JFreeChartPlugin with my subclassed MyJFreeChartPlugin by listing the following bean in my platform plugin's plugin.xml file:

...