Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.15

API

SDK

Tips ‘n’ Tricks

Miscellaneous


:: com :: sun :: star :: chart ::

service StockDiagram
Description
specifies a diagram which can be used for presenting stock quotes.

Note that the data must have a specific structure for stock diagrams. Let us assume that data is interpreted, such that series are taken from columns (see property Diagram::DataRowSource). Then you need tables of the following structures for different types:

Volume is false
UpDown is false

LowHighClose

Volume is true
UpDown is false

VolumeLowHighClose

Volume is false
UpDown is true

OpenLowHighClose

Volume is true
UpDown is true

VolumeOpenLowHighClose

Developers Guide
Charts - Stock Charts

Included Services - Summary
ChartStatistics
(referenced entity's summary:)
offers statistical properties for the data in the chart. It is available for a single data row and for the whole diagram.
Diagram
(referenced entity's summary:)
the base service for the diagram of the chart document.
ChartAxisXSupplier
(referenced entity's summary:)
has to be supported by charts providing the cpabilities of a horizontal axis, i.e., an x-axis.
ChartTwoAxisYSupplier
(referenced entity's summary:)
a helper service for chart documents which supply primary and secondary y-axes.
Exported Interfaces - Summary
XStatisticDisplay
(referenced entity's summary:)
gives access to statistical elements for the chart.
Properties' Summary
boolean
Volume
indicates if a stock chart contains data representing the volume of stocks.  
boolean
UpDown
indicates if a stock chart contains data representing the value of stocks on the opening and closing date.  
Included Services - Details
ChartStatistics
(referenced entity's summary:)
offers statistical properties for the data in the chart. It is available for a single data row and for the whole diagram.
Diagram
(referenced entity's summary:)
the base service for the diagram of the chart document.
ChartAxisXSupplier
(referenced entity's summary:)
has to be supported by charts providing the cpabilities of a horizontal axis, i.e., an x-axis.
ChartTwoAxisYSupplier
(referenced entity's summary:)
a helper service for chart documents which supply primary and secondary y-axes.
Exported Interfaces - Details
XStatisticDisplay
(referenced entity's summary:)
gives access to statistical elements for the chart.
Properties' Details
Volume
boolean Volume;
Description
indicates if a stock chart contains data representing the volume of stocks.

The values of the volume are represented as columns like those of a BarDiagram.

If this property is set to true, the values of the first series of the chart data are interpreted as volume.

UpDown
boolean UpDown;
Description
indicates if a stock chart contains data representing the value of stocks on the opening and closing date.

The difference will be indicated by bars. The color of the bar will be significant for positive or negative differences between open and closed data.

If this property is false, the values of the first series (or second if StockDiagram::Volume is true) of the chart data are interpreted as the day's lowest value. The next series is interpreted as the day's highest value, and the last series is interpreted as the closing value.

If this property is set to true, one additional series is needed with the opening value of the stocks. It is assumed as the series before the series with the day's lowest value.


 
Top of Page

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache, OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. The Apache feather logo is a trademark of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.