1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: ChartStatistics.idl,v $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
30 #ifndef __com_sun_star_chart_ChartStatistics_idl__
31 #define __com_sun_star_chart_ChartStatistics_idl__
33 #ifndef __com_sun_star_beans_XPropertySet_idl__
34 #include
<com
/sun
/star
/beans
/XPropertySet.idl
>
37 #ifndef __com_sun_star_chart_ChartErrorCategory_idl__
38 #include
<com
/sun
/star
/chart
/ChartErrorCategory.idl
>
41 #ifndef __com_sun_star_chart_ChartErrorIndicatorType_idl__
42 #include
<com
/sun
/star
/chart
/ChartErrorIndicatorType.idl
>
45 #ifndef __com_sun_star_chart_ChartRegressionCurveType_idl__
46 #include
<com
/sun
/star
/chart
/ChartRegressionCurveType.idl
>
49 #include
<com
/sun
/star
/chart
/ErrorBarStyle.idl
>
51 //=============================================================================
53 module com
{ module sun
{ module star
{ module chart
{
55 //=============================================================================
57 /** offers statistical properties for the data in the chart. It is
58 available for a single data row and for the whole diagram.
60 published service ChartStatistics
62 interface com
::sun
::star
::beans
::XPropertySet
;
64 //-------------------------------------------------------------------------
66 /** specifies the lower limit of the error range of a
69 <p>this setting is effective if the
70 <member>ChartStatistics::ErrorCategory</member> is set to
71 <member>ChartErrorCategory::CONSTANT_VALUE</member>.</p>
73 @see ConstantErrorHigh
76 [property
] double ConstantErrorLow
;
78 //-------------------------------------------------------------------------
80 /** specifies the upper limit of the error range of a
83 <p>this setting is effective if the
84 <member>ChartStatistics::ErrorCategory</member> is set to
85 <member>ChartErrorCategory::CONSTANT_VALUE</member>.</p>
90 [property
] double ConstantErrorHigh
;
92 //-------------------------------------------------------------------------
94 /** determines if the mean value for a data row is
97 [property
] boolean MeanValue
;
99 //-------------------------------------------------------------------------
101 /** determines the type of error to indicate.
105 @see ChartErrorCategory
108 @see ConstantErrorLow
109 @see ConstantErrorHigh
112 [property
] com
::sun
::star
::chart
::ChartErrorCategory ErrorCategory
;
114 /** determines the style of the error bars. Use this instead of
119 [optional, property
] long ErrorBarStyle
;
121 //-------------------------------------------------------------------------
123 /** specifies the percentage that is used to display error bars.
125 <p>The length of the error indicators is calculated for each
126 data point by taking the given percentatge of its value.</p>
128 <p>this setting is effective if the
129 <member>ChartStatistics::ErrorCategory</member> is set to
130 <member>ChartErrorCategory::PERCENT</member>.</p>
134 [property
] double PercentageError
;
136 //-------------------------------------------------------------------------
138 /** specifies the percentage for the margin of errors.
140 <p>The length of the error indicators is calculated by taking
141 the percentage given of the largest data point value.</p>
143 <p>this setting is effective if the
144 <member>ChartStatistics::ErrorCategory</member> is set to
145 <member>ChartErrorCategory::ERROR_MARGIN</member>.</p>
149 [property
] double ErrorMargin
;
151 //-------------------------------------------------------------------------
153 /** determines how the error is indicated.
155 <p>You can enable indicators pointing up, down or both.</p>
159 [property
] com
::sun
::star
::chart
::ChartErrorIndicatorType ErrorIndicator
;
161 //-------------------------------------------------------------------------
163 /** determines a type of regression for the data row values.
165 @see ChartRegressionCurveType
167 [property
] com
::sun
::star
::chart
::ChartRegressionCurveType RegressionCurves
;
169 /** contains a cell range string for positve error bars. This
170 property is used when the <type>ErrorBarCategory</type> is set
171 to <member>ErrorBarCategory::FROM_DATA</member>.
173 [optional, property
] string ErrorBarRangePositive
;
175 /** contains a cell range string for negative error bars. This
176 property is used when the <type>ErrorBarCategory</type> is set
177 to <member>ErrorBarCategory::FROM_DATA</member>.
179 [optional, property
] string ErrorBarRangeNegative
;
182 //=============================================================================