xref: /trunk/main/offapi/com/sun/star/chart/ChartStatistics.idl (revision ffd38472365e95f6a578737bc9a5eb0fac624a86)
1d1766043SAndrew Rist/**************************************************************
2cdf0e10cSrcweir *
3d1766043SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one
4d1766043SAndrew Rist * or more contributor license agreements.  See the NOTICE file
5d1766043SAndrew Rist * distributed with this work for additional information
6d1766043SAndrew Rist * regarding copyright ownership.  The ASF licenses this file
7d1766043SAndrew Rist * to you under the Apache License, Version 2.0 (the
8d1766043SAndrew Rist * "License"); you may not use this file except in compliance
9d1766043SAndrew Rist * with the License.  You may obtain a copy of the License at
10cdf0e10cSrcweir *
11d1766043SAndrew Rist *   http://www.apache.org/licenses/LICENSE-2.0
12cdf0e10cSrcweir *
13d1766043SAndrew Rist * Unless required by applicable law or agreed to in writing,
14d1766043SAndrew Rist * software distributed under the License is distributed on an
15d1766043SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16d1766043SAndrew Rist * KIND, either express or implied.  See the License for the
17d1766043SAndrew Rist * specific language governing permissions and limitations
18d1766043SAndrew Rist * under the License.
19cdf0e10cSrcweir *
20d1766043SAndrew Rist *************************************************************/
21d1766043SAndrew Rist
22d1766043SAndrew Rist
23cdf0e10cSrcweir#ifndef __com_sun_star_chart_ChartStatistics_idl__
24cdf0e10cSrcweir#define __com_sun_star_chart_ChartStatistics_idl__
25cdf0e10cSrcweir
26cdf0e10cSrcweir#ifndef __com_sun_star_beans_XPropertySet_idl__
27cdf0e10cSrcweir#include <com/sun/star/beans/XPropertySet.idl>
28cdf0e10cSrcweir#endif
29cdf0e10cSrcweir
30cdf0e10cSrcweir#ifndef __com_sun_star_chart_ChartErrorCategory_idl__
31cdf0e10cSrcweir#include <com/sun/star/chart/ChartErrorCategory.idl>
32cdf0e10cSrcweir#endif
33cdf0e10cSrcweir
34cdf0e10cSrcweir#ifndef __com_sun_star_chart_ChartErrorIndicatorType_idl__
35cdf0e10cSrcweir#include <com/sun/star/chart/ChartErrorIndicatorType.idl>
36cdf0e10cSrcweir#endif
37cdf0e10cSrcweir
38cdf0e10cSrcweir#ifndef __com_sun_star_chart_ChartRegressionCurveType_idl__
39cdf0e10cSrcweir#include <com/sun/star/chart/ChartRegressionCurveType.idl>
40cdf0e10cSrcweir#endif
41cdf0e10cSrcweir
42cdf0e10cSrcweir#include <com/sun/star/chart/ErrorBarStyle.idl>
43cdf0e10cSrcweir
44cdf0e10cSrcweir//=============================================================================
45cdf0e10cSrcweir
46cdf0e10cSrcweir module com {  module sun {  module star {  module chart {
47cdf0e10cSrcweir
48cdf0e10cSrcweir//=============================================================================
49cdf0e10cSrcweir
50cdf0e10cSrcweir/** offers statistical properties for the data in the chart. It is
51cdf0e10cSrcweir    available for a single data row and for the whole diagram.
52cdf0e10cSrcweir */
53cdf0e10cSrcweirpublished service ChartStatistics
54cdf0e10cSrcweir{
55cdf0e10cSrcweir    interface com::sun::star::beans::XPropertySet;
56cdf0e10cSrcweir
57cdf0e10cSrcweir    //-------------------------------------------------------------------------
58cdf0e10cSrcweir
59cdf0e10cSrcweir    /** specifies the lower limit of the error range of a
60cdf0e10cSrcweir        data row.
61cdf0e10cSrcweir
62cdf0e10cSrcweir        <p>this setting is effective if the
63cdf0e10cSrcweir        <member>ChartStatistics::ErrorCategory</member> is set to
64cdf0e10cSrcweir        <member>ChartErrorCategory::CONSTANT_VALUE</member>.</p>
65cdf0e10cSrcweir
66cdf0e10cSrcweir        @see ConstantErrorHigh
67cdf0e10cSrcweir        @see ErrorCategory
68cdf0e10cSrcweir     */
69cdf0e10cSrcweir    [property] double ConstantErrorLow;
70cdf0e10cSrcweir
71cdf0e10cSrcweir    //-------------------------------------------------------------------------
72cdf0e10cSrcweir
73cdf0e10cSrcweir    /** specifies the upper limit of the error range of a
74cdf0e10cSrcweir        data row.
75cdf0e10cSrcweir
76cdf0e10cSrcweir        <p>this setting is effective if the
77cdf0e10cSrcweir        <member>ChartStatistics::ErrorCategory</member> is set to
78cdf0e10cSrcweir        <member>ChartErrorCategory::CONSTANT_VALUE</member>.</p>
79cdf0e10cSrcweir
80cdf0e10cSrcweir        @see ConstantErrorLow
81cdf0e10cSrcweir        @see ErrorCategory
82cdf0e10cSrcweir     */
83cdf0e10cSrcweir    [property] double ConstantErrorHigh;
84cdf0e10cSrcweir
85cdf0e10cSrcweir    //-------------------------------------------------------------------------
86cdf0e10cSrcweir
87cdf0e10cSrcweir    /** determines if the mean value for a data row is
88cdf0e10cSrcweir        displayed as a line.
89cdf0e10cSrcweir     */
90cdf0e10cSrcweir    [property] boolean MeanValue;
91cdf0e10cSrcweir
92cdf0e10cSrcweir    //-------------------------------------------------------------------------
93cdf0e10cSrcweir
94cdf0e10cSrcweir    /** determines the type of error to indicate.
95cdf0e10cSrcweir
96cdf0e10cSrcweir        @deprecated
97cdf0e10cSrcweir
98cdf0e10cSrcweir        @see ChartErrorCategory
99cdf0e10cSrcweir        @see PercentageError
100cdf0e10cSrcweir        @see ErrorMargin
101cdf0e10cSrcweir        @see ConstantErrorLow
102cdf0e10cSrcweir        @see ConstantErrorHigh
103cdf0e10cSrcweir        @see ErrorIndicator
104cdf0e10cSrcweir     */
105cdf0e10cSrcweir    [property] com::sun::star::chart::ChartErrorCategory ErrorCategory;
106cdf0e10cSrcweir
107cdf0e10cSrcweir    /** determines the style of the error bars. Use this instead of
108cdf0e10cSrcweir        ErrorCategory
109cdf0e10cSrcweir
110cdf0e10cSrcweir         @see ErrorBarStyle
111cdf0e10cSrcweir     */
112cdf0e10cSrcweir    [optional, property] long ErrorBarStyle;
113cdf0e10cSrcweir
114cdf0e10cSrcweir    //-------------------------------------------------------------------------
115cdf0e10cSrcweir
116cdf0e10cSrcweir    /** specifies the percentage that is used to display error bars.
117cdf0e10cSrcweir
118cdf0e10cSrcweir        <p>The length of the error indicators is calculated for each
119cdf0e10cSrcweir        data point by taking the given percentatge of its value.</p>
120cdf0e10cSrcweir
121cdf0e10cSrcweir        <p>this setting is effective if the
122cdf0e10cSrcweir        <member>ChartStatistics::ErrorCategory</member> is set to
123cdf0e10cSrcweir        <member>ChartErrorCategory::PERCENT</member>.</p>
124cdf0e10cSrcweir
125cdf0e10cSrcweir        @see ErrorCategory
126cdf0e10cSrcweir     */
127cdf0e10cSrcweir    [property] double PercentageError;
128cdf0e10cSrcweir
129cdf0e10cSrcweir    //-------------------------------------------------------------------------
130cdf0e10cSrcweir
131cdf0e10cSrcweir    /** specifies the percentage for the margin of errors.
132cdf0e10cSrcweir
133cdf0e10cSrcweir        <p>The length of the error indicators is calculated by taking
134cdf0e10cSrcweir        the percentage given of the largest data point value.</p>
135cdf0e10cSrcweir
136cdf0e10cSrcweir        <p>this setting is effective if the
137cdf0e10cSrcweir        <member>ChartStatistics::ErrorCategory</member> is set to
138cdf0e10cSrcweir        <member>ChartErrorCategory::ERROR_MARGIN</member>.</p>
139cdf0e10cSrcweir
140cdf0e10cSrcweir        @see ErrorCategory
141cdf0e10cSrcweir     */
142cdf0e10cSrcweir    [property] double ErrorMargin;
143cdf0e10cSrcweir
144cdf0e10cSrcweir    //-------------------------------------------------------------------------
145cdf0e10cSrcweir
146cdf0e10cSrcweir    /** determines how the error is indicated.
147cdf0e10cSrcweir
148cdf0e10cSrcweir        <p>You can enable indicators pointing up, down or both.</p>
149cdf0e10cSrcweir
150cdf0e10cSrcweir        @see ErrorCategory
151cdf0e10cSrcweir     */
152cdf0e10cSrcweir    [property] com::sun::star::chart::ChartErrorIndicatorType ErrorIndicator;
153cdf0e10cSrcweir
154cdf0e10cSrcweir    //-------------------------------------------------------------------------
155cdf0e10cSrcweir
156cdf0e10cSrcweir    /** determines a type of regression for the data row values.
157cdf0e10cSrcweir
158cdf0e10cSrcweir        @see ChartRegressionCurveType
159cdf0e10cSrcweir     */
160cdf0e10cSrcweir    [property] com::sun::star::chart::ChartRegressionCurveType RegressionCurves;
161cdf0e10cSrcweir
162*51754c86SJohn Bampton    /** contains a cell range string for positive error bars. This
163cdf0e10cSrcweir        property is used when the <type>ErrorBarCategory</type> is set
164cdf0e10cSrcweir        to <member>ErrorBarCategory::FROM_DATA</member>.
165cdf0e10cSrcweir     */
166cdf0e10cSrcweir    [optional, property] string ErrorBarRangePositive;
167cdf0e10cSrcweir
168cdf0e10cSrcweir    /** contains a cell range string for negative error bars. This
169cdf0e10cSrcweir        property is used when the <type>ErrorBarCategory</type> is set
170cdf0e10cSrcweir        to <member>ErrorBarCategory::FROM_DATA</member>.
171cdf0e10cSrcweir     */
172cdf0e10cSrcweir    [optional, property] string ErrorBarRangeNegative;
173cdf0e10cSrcweir};
174cdf0e10cSrcweir
175cdf0e10cSrcweir//=============================================================================
176cdf0e10cSrcweir
177cdf0e10cSrcweir}; }; }; };
178cdf0e10cSrcweir
179cdf0e10cSrcweir#endif
180