Stock Charts
From Apache OpenOffice Wiki
< Documentation | DevGuide
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). |