Difference between revisions of "Pptx chart"

From Apache OpenOffice Wiki
Jump to: navigation, search
Line 11: Line 11:
 
We can support formatted number label. Example:<br />
 
We can support formatted number label. Example:<br />
 
In chart.xml, the follow is a row label string.<br />
 
In chart.xml, the follow is a row label string.<br />
< c:formatCode>yyyy/m/d< /c:formatCode> <br />
+
''< c:formatCode>yyyy/m/d< /c:formatCode> <br />
 
< c:ptCount val="5" /> <br />
 
< c:ptCount val="5" /> <br />
 
< c:pt idx="0"> <br />
 
< c:pt idx="0"> <br />
< c:v>37261< /c:v> <br />
+
< c:v>37261< /c:v> <br />''
 
Then the number 37261 will be formatted to a string ‘2002/1/5’. And ‘2002/1/5’ will be a label string.<br />
 
Then the number 37261 will be formatted to a string ‘2002/1/5’. And ‘2002/1/5’ will be a label string.<br />
 
Or In chart.xml, the follow is a row label string.<br />
 
Or In chart.xml, the follow is a row label string.<br />

Revision as of 07:58, 19 September 2012

Pptx chart summary


we can support these feature:

  • chart type

Total: 73 types
Support correctly: 67 types
Not support: 6 types. They are:
4 Surface types, Pie of Pie type, Bar of Pie type.
If a chart can’t be supported, then an empty chart will display.
We can load these charts and save them in the odp file.

  • chart label format

We can support formatted number label. Example:
In chart.xml, the follow is a row label string.
< c:formatCode>yyyy/m/d< /c:formatCode>
< c:ptCount val="5" />
< c:pt idx="0">
< c:v>37261< /c:v>
Then the number 37261 will be formatted to a string ‘2002/1/5’. And ‘2002/1/5’ will be a label string.
Or In chart.xml, the follow is a row label string.
< c:formatCode>"¥"#,##0.00< /c:formatCode>
< c:ptCount val="5" />
< c:pt idx="0">
< c:v>1< /c:v>
Then the number 1 will be formatted to a string ‘¥1.00'. And ‘¥1.00’ will be a label string.

11.jpg ddddd

Personal tools