Version 7.6.3.2-android, tag libreoffice-7.6.3.2-android
[LibreOffice.git] / offapi / com / sun / star / chart / ChartStatistics.idl
blob6a577d7f2d6f09cc484afe97fdc2d8a6a85074b3
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
21 module com { module sun { module star { module chart {
24 /** offers statistical properties for the data in the chart. It is
25 available for a single data row and for the whole diagram.
27 published service ChartStatistics
29 interface com::sun::star::beans::XPropertySet;
32 /** specifies the lower limit of the error range of a
33 data row.
35 <p>this setting is effective if the
36 ChartStatistics::ErrorCategory is set to
37 ChartErrorCategory::CONSTANT_VALUE.</p>
39 @see ConstantErrorHigh
40 @see ErrorCategory
42 [property] double ConstantErrorLow;
45 /** specifies the upper limit of the error range of a
46 data row.
48 <p>this setting is effective if the
49 ChartStatistics::ErrorCategory is set to
50 ChartErrorCategory::CONSTANT_VALUE.</p>
52 @see ConstantErrorLow
53 @see ErrorCategory
55 [property] double ConstantErrorHigh;
58 /** determines if the mean value for a data row is
59 displayed as a line.
61 [property] boolean MeanValue;
64 /** determines the type of error to indicate.
66 @deprecated
68 @see ChartErrorCategory
69 @see PercentageError
70 @see ErrorMargin
71 @see ConstantErrorLow
72 @see ConstantErrorHigh
73 @see ErrorIndicator
75 [property] com::sun::star::chart::ChartErrorCategory ErrorCategory;
77 /** determines the style of the error bars. Use this instead of
78 ErrorCategory
80 @see ErrorBarStyle
82 [optional, property] long ErrorBarStyle;
85 /** specifies the percentage that is used to display error bars.
87 <p>The length of the error indicators is calculated for each
88 data point by taking the given percentage of its value.</p>
90 <p>this setting is effective if the
91 ChartStatistics::ErrorCategory is set to
92 ChartErrorCategory::PERCENT.</p>
94 @see ErrorCategory
96 [property] double PercentageError;
99 /** specifies the percentage for the margin of errors.
101 <p>The length of the error indicators is calculated by taking
102 the percentage given of the largest data point value.</p>
104 <p>this setting is effective if the
105 ChartStatistics::ErrorCategory is set to
106 ChartErrorCategory::ERROR_MARGIN.</p>
108 @see ErrorCategory
110 [property] double ErrorMargin;
113 /** determines how the error is indicated.
115 <p>You can enable indicators pointing up, down or both.</p>
117 @see ErrorCategory
119 [property] com::sun::star::chart::ChartErrorIndicatorType ErrorIndicator;
122 /** determines a type of regression for the data row values.
124 @see ChartRegressionCurveType
126 [property] com::sun::star::chart::ChartRegressionCurveType RegressionCurves;
128 /** contains a cell range string for positive error bars. This
129 property is used when the ErrorBarCategory is set
130 to ErrorBarCategory::FROM_DATA.
132 [optional, property] string ErrorBarRangePositive;
134 /** contains a cell range string for negative error bars. This
135 property is used when the ErrorBarCategory is set
136 to ErrorBarCategory::FROM_DATA.
138 [optional, property] string ErrorBarRangeNegative;
142 }; }; }; };
144 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */