Top   Module   Use   Manual   Index 
 INCLUDED SERVICES | EXPORTED INTERFACES | PROPERTIES' SUMMARY | PROPERTIES' DETAILS 

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:

StockDiagram::Volume is false
StockDiagram::UpDown is false
Low High Close
… … …

StockDiagram::Volume is true
StockDiagram::UpDown is false
Volume Low High Close
… … … …

StockDiagram::Volume is false
StockDiagram::UpDown is true
Open Low High Close
… … … …

StockDiagram::Volume is true
StockDiagram::UpDown is true
Volume Open Low High Close
… … … … …



Included Services

com::sun::star::chart::ChartStatistics
Description
offers statistical properties for the data in the chart. It is available for a single data row and for the whole diagram.
com::sun::star::chart::Diagram
Description
the base service for the diagram of the chart document.
com::sun::star::chart::ChartAxisXSupplier
Description
has to be supported by charts providing the cpabilities of a horizontal axis, i.e., an x -axis.
com::sun::star::chart::ChartTwoAxisYSupplier
Description
a helper service for chart documents which supply primary and secondary y-axes.

Exported Interfaces

com::sun::star::chart::XStatisticDisplay
Description
gives access to statistical elements for the chart.

Properties' Summary

Volume indicates if a stock chart contains data representing the volume of stocks.
UpDown indicates if a stock chart contains data representing the value of stocks on the opening and closing date.

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