Difference between revisions of "Documentation/DevGuide/Charts/Stock Charts"
From Apache OpenOffice Wiki
< Documentation | DevGuide
OOoWikiBot (Talk | contribs) m (Robot: Changing Category:Charts) |
OOoWikiBot (Talk | contribs) m (FINAL VERSION FOR L10N) |
||
(One intermediate revision by the same user not shown) | |||
Line 7: | Line 7: | ||
|NextPage=Documentation/DevGuide/Charts/Chart Document Controller | |NextPage=Documentation/DevGuide/Charts/Chart Document Controller | ||
}} | }} | ||
− | {{DISPLAYTITLE:Stock Charts}} | + | {{Documentation/DevGuideLanguages|Documentation/DevGuide/Charts/{{SUBPAGENAME}}}} |
+ | {{DISPLAYTITLE:Stock Charts}} | ||
<!--<idltopic>com.sun.star.chart.StockDiagram</idltopic>--> | <!--<idltopic>com.sun.star.chart.StockDiagram</idltopic>--> | ||
A special data structure must be provided when creating stock charts. When a <idl>com.sun.star.chart.StockDiagram</idl> is set as the current chart type, the data is interpreted in a specific manner depending on the properties <code>Volume</code> and <code>UpDown</code>. The following table shows what semantics are used for the data series. | A special data structure must be provided when creating stock charts. When a <idl>com.sun.star.chart.StockDiagram</idl> is set as the current chart type, the data is interpreted in a specific manner depending on the properties <code>Volume</code> and <code>UpDown</code>. The following table shows what semantics are used for the data series. | ||
Line 58: | Line 59: | ||
{{PDL1}} | {{PDL1}} | ||
− | [[Category:Documentation/ | + | [[Category:Documentation/Developer's Guide/Charts]] |
Latest revision as of 12:23, 15 May 2009
A special data structure must be provided when creating stock charts. When a com.sun.star.chart.StockDiagram is set as the current chart type, the data is interpreted in a specific manner depending on the properties Volume
and UpDown
. The following table shows what semantics are used for the data series.
Volume | UpDown | Series 1 | Series 2 | Series 3 | Series 4 | Series 5 |
---|---|---|---|---|---|---|
false | false | Low | High | Close | - | - |
true | false | Volume | Low | High | Close | - |
false | true | Open | Low | High | Close | - |
true | true | Volume | Open | Low | High | Close |
For example, if the property Volume
is set to false
and UpDown
to true
, the first series is interpreted as the value of the stock when the stock exchange opened, and the fourth series represents the value when the stock exchange closed. The lowest and highest value during the day is represented in series two and three, respectively.
Content on this page is licensed under the Public Documentation License (PDL). |