Bug 174872 Clean up chart model
The chart model contains unused attributes and components. Those just make it difficult to understand the model architecture, so they should be removed from the schema, and the EMF classes must re-generated. Examples are: ChartPreferences, Rule. We need to analyze the model to find out all unused ones. Note that this should not break backward compatibility, otherwise just make them deprecated.
chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/Serializer.java
/**
     * Reads the chart model embedded inside other XML content defined by the URI provided.
     * 
     * @param uri
     *            URI of the location holding the embedded chart model
     * @return chart model read from the source
     * @throws IOException
     */
    public Chart readEmbedded(URI uri) throws IOException;
    /**
     * Reads the chart model from the ByteArrayInputStream.
     * 
     * @param byaIS
     *            The ByteArrayInputStream holding the chart model
     * @param bStripHeaders
     *            Specifies whether or not the headers were removed when the chart model was saved
     * @return chart model read from the stream
     * @throws IOException
     */
    public Chart fromXml(ByteArrayInputStream byaIS, boolean bStripHeaders) throws IOException;
    /**
     * Loads the chart preferences from the InputStream.
     * 
     * @param is
     *            InputStream from which the chart preferences are to be read
     * @return ChartPreferences instance read from the stream
     * @throws IOException
     */
    public ChartPreferences loadPreferences(InputStream is) throws IOException;
}