LibreOffice
LibreOffice 25.8 SDK API Reference
|
specifies a diagram which can be used for presenting stock quotes. More...
import "StockDiagram.idl";
Included Services | |
service | com::sun::star::chart::ChartStatistics |
service | com::sun::star::chart::Diagram |
service | com::sun::star::chart::ChartAxisXSupplier |
service | com::sun::star::chart::ChartTwoAxisYSupplier |
Included Services inherited from Diagram | |
service | com::sun::star::xml::UserDefinedAttributesSupplier |
If a Diagram may be stored as XML file, this service should be supported in order to preserve unparsed XML attributes. | |
Included Services inherited from ChartTwoAxisYSupplier | |
service | com::sun::star::chart::ChartAxisYSupplier |
Exported Interfaces | |
interface | com::sun::star::chart::XStatisticDisplay |
Exported Interfaces inherited from ChartStatistics | |
interface | com::sun::star::beans::XPropertySet |
Exported Interfaces inherited from Diagram | |
interface | com::sun::star::chart::XDiagram |
interface | com::sun::star::chart::XAxisSupplier |
Provides easier access to the different axes and their sub elements. | |
interface | com::sun::star::chart::XSecondAxisTitleSupplier |
Provides access to the titles of the secondary X axis and Y axis. | |
interface | com::sun::star::chart::XDiagramPositioning |
interface | com::sun::star::beans::XPropertySet |
Exported Interfaces inherited from ChartAxisXSupplier | |
interface | com::sun::star::chart::XAxisXSupplier |
offers access to the axis object, the title, and the grids | |
Exported Interfaces inherited from ChartTwoAxisYSupplier | |
interface | com::sun::star::chart::XTwoAxisYSupplier |
offers access to the axis object | |
Exported Interfaces inherited from ChartAxisYSupplier | |
interface | com::sun::star::chart::XAxisYSupplier |
offers access to the axis object, the title, and the grids |
Public Attributes | |
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. | |
Public Attributes inherited from ChartStatistics | |
double | ConstantErrorLow |
specifies the lower limit of the error range of a data row. | |
double | ConstantErrorHigh |
specifies the upper limit of the error range of a data row. | |
boolean | MeanValue |
determines if the mean value for a data row is displayed as a line. | |
com::sun::star::chart::ChartErrorCategory | ErrorCategory |
determines the type of error to indicate. | |
long | ErrorBarStyle |
determines the style of the error bars. | |
double | PercentageError |
specifies the percentage that is used to display error bars. | |
double | ErrorMargin |
specifies the percentage for the margin of errors. | |
com::sun::star::chart::ChartErrorIndicatorType | ErrorIndicator |
determines how the error is indicated. | |
com::sun::star::chart::ChartRegressionCurveType | RegressionCurves |
determines a type of regression for the data row values. | |
string | ErrorBarRangePositive |
contains a cell range string for positive error bars. | |
string | ErrorBarRangeNegative |
contains a cell range string for negative error bars. | |
Public Attributes inherited from Diagram | |
boolean | AutomaticPosition |
If this property is TRUE the position is calculated by the application automatically. | |
boolean | AutomaticSize |
If this property is TRUE the size is calculated by the application automatically. | |
com::sun::star::chart::ChartDataRowSource | DataRowSource |
determines if the data for a data row is contained in the columns or in the rows of the data array. | |
long | DataCaption |
specifies how the caption of data points is displayed. | |
long | MissingValueTreatment |
specifies how empty or invalid cells in the provided data should be handled when displayed | |
Public Attributes inherited from ChartAxisXSupplier | |
boolean | HasXAxis |
This property determines if the x-axis is shown or hidden. | |
boolean | HasXAxisDescription |
Determines if the description of the x-axis is shown or hidden. | |
boolean | HasXAxisGrid |
Determines if the major grid of the x-axis is shown or hidden. | |
boolean | HasXAxisHelpGrid |
Determines if the minor grid of the x-axis is shown or hidden. | |
boolean | HasXAxisTitle |
Determines if the title of the x-axis is shown or hidden. | |
Public Attributes inherited from ChartTwoAxisYSupplier | |
boolean | HasSecondaryYAxis |
determines if the secondary y-axis is shown or hidden. | |
boolean | HasSecondaryYAxisDescription |
determines for the secondary y-axis if the labels at the tick marks are shown or hidden. | |
boolean | HasSecondaryYAxisTitle |
determines if the title of the secondary y-axis is shown or hidden. | |
Public Attributes inherited from ChartAxisYSupplier | |
boolean | HasYAxis |
Determines if the y-axis is shown or hidden. | |
boolean | HasYAxisDescription |
Determines if the description of the y-axis is shown or hidden. | |
boolean | HasYAxisGrid |
Determines if the major grid of the y-axis is shown or hidden. | |
boolean | HasYAxisHelpGrid |
Determines if the minor grid of the y-axis is shown or hidden. | |
boolean | HasYAxisTitle |
Determines if the title of the y-axis is shown or hidden. |
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 |
... | ... | ... | ... | ... |
service com::sun::star::chart::Diagram |
interface com::sun::star::chart::XStatisticDisplay |
|
property |
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.
|
property |
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.