How is the Chart Model working?
A majority of the chart structure API comprises of Java classes generated out of XML schema using EMF (eclipse modeling framework). Read more about EMF at: http://www.eclipse.org/emf http://www-128.ibm.com/developerworks/opensource/library/os-ecemf1/ EMF provides factory classes to create instances of chart components. e.g. if a new Axis needs to be created, an instance is retrieved using: Axis ax = ComponentFactory.eINSTANCE.createAxis(); This object ’ax’ is of type ’AxisImpl’ and implicitly cast into an ’Axis’ interface reference. The ’Axis’ interface is located at org.eclipse.birt.chart.model.component The ’AxisImpl’ class is located at org.eclipse.birt.chart.model.component.impl ’ComponentFactory’ is located at org.eclipse.birt.chart.model.component.util Note the color coding used to identify the relationship between the class names, the package names and the method names. Now, the new ’Axis’ instance created using this method has not been initialized. Default initialization of mem