Public 2.XChartTypeContainer getChartTypeContainer() The Java code snippet below shows the implementation for steps 1 to 5: If you nevertheless want to use the chart2 API on your own risk do the following:ġ-Query your chart document for interface 2.XChartDocumentĢ-Call methods getFirstDiagram() and getDataProvider() on the returned Object from step oneģ-Query the received diagram for interface 2.XCoordinateSystemContainerĤ-Receive the first and only coordinate system from the containerĥ-Query the coordinate system for interface 2.XChartTypeContainer When the API evolves your code will not work with future versions. It is an internal API that will change further. Again a warning about using 2 API It is not provided for external usage yet. Now let’s walk through the steps to produce a combined chart using the chart2 API and the Java programming language. He mentioned that we could extend ’s charting capabilities by using the Netbeans OpenOffice Integration tool. Kay Kroll from has an article on Netbeans OpenOffice integration. If you are new to this field you can get started by taking a look to the API developer guide.įrom my own experience I found the Netbeans OpenOffice API plugin to be an Excellent Tool that could simplify the somewhat complicated tasks of java UNO API development. This Tutorial suppose you are already familiar with OpenOffice UNO API development in Java. ( see my previous topic : OpenOffice Chart2 Not yet Ready! ) This will be done using chart2 API as the old chart1 API is not flexible enough to allow combining multiple chart-types in same Graph. ![]() ![]() This Post describes a method to programatically combine different OpenOffice chart types in same coordinate system.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |