1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
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
35 <p>this setting is effective if the
36 ChartStatistics::ErrorCategory is set to
37 ChartErrorCategory::CONSTANT_VALUE.</p>
39 @see ConstantErrorHigh
42 [property
] double ConstantErrorLow
;
45 /** specifies the upper limit of the error range of a
48 <p>this setting is effective if the
49 ChartStatistics::ErrorCategory is set to
50 ChartErrorCategory::CONSTANT_VALUE.</p>
55 [property
] double ConstantErrorHigh
;
58 /** determines if the mean value for a data row is
61 [property
] boolean MeanValue
;
64 /** determines the type of error to indicate.
68 @see ChartErrorCategory
72 @see ConstantErrorHigh
75 [property
] com
::sun
::star
::chart
::ChartErrorCategory ErrorCategory
;
77 /** determines the style of the error bars. Use this instead of
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>
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>
110 [property
] double ErrorMargin
;
113 /** determines how the error is indicated.
115 <p>You can enable indicators pointing up, down or both.</p>
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
;
144 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */