Difference between revisions of "Documentation/DevGuide/Charts/Handling Chart Documents"

From Apache OpenOffice Wiki
Jump to: navigation, search
m (1 revision(s))
m (Robot: Changing Category:Charts)
Line 10: Line 10:
  
 
{{PDL1}}
 
{{PDL1}}
[[Category: Charts]]
+
 
 +
[[Category:Documentation/Developers Guide/Charts]]

Revision as of 09:00, 4 June 2008



Creating Charts

The com.sun.star.table.XTableChartsSupplier interface of the com.sun.star.sheet.Spreadsheet service is used to create and insert a new chart into a Calc document. This creates a chart that uses data from the com.sun.star.chart.XChartDataArray interface of the underlying cell range. A generic way to create charts is to insert an OLE-Shape into a draw page and transform it into a chart setting a class-id.

Content on this page is licensed under the Public Documentation License (PDL).
Personal tools