merged tag ooo/OOO330_m14
[LibreOffice.git] / offapi / com / sun / star / chart / ErrorBarStyle.idl
blob12738b4e60a2f90dfd8d9dc64822d512c8bcb8f0
1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2000, 2010 Oracle and/or its affiliates.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * This file is part of OpenOffice.org.
11 * OpenOffice.org is free software: you can redistribute it and/or modify
12 * it under the terms of the GNU Lesser General Public License version 3
13 * only, as published by the Free Software Foundation.
15 * OpenOffice.org is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU Lesser General Public License version 3 for more details
19 * (a copy is included in the LICENSE file that accompanied this code).
21 * You should have received a copy of the GNU Lesser General Public License
22 * version 3 along with OpenOffice.org. If not, see
23 * <http://www.openoffice.org/license.html>
24 * for a copy of the LGPLv3 License.
26 ************************************************************************/
27 #ifndef com_sun_star_chart_ErrorBarStyle_idl
28 #define com_sun_star_chart_ErrorBarStyle_idl
30 module com { module sun { module star { module chart {
32 /** specifies the style of error indicators.
34 published constants ErrorBarStyle
36 /** error indicators are not displayed.
38 const long NONE = 0;
40 /** displays error indicators for the variance of the data.
42 const long VARIANCE = 1;
44 /** displays error indicators for the standard deviation (square
45 root of variance) of the data.
47 const long STANDARD_DEVIATION = 2;
49 /** the error indicators for all data points have the same
50 absolute value as length for either direction.
52 <p>The values for these are given as absolute numbers in
53 <member>ChartStatistics::ConstantErrorLow</member> and
54 <member>ChartStatistics::ConstantErrorHigh</member></p>
56 @see ChartStatistics
58 const long ABSOLUTE = 3;
60 /** The length of the error indicators is calculated for each data
61 point by taking the percentage given as
62 <member>ChartStatistics::PercentageError</member> of its
63 value.
65 @see ChartStatistics
67 const long RELATIVE = 4;
69 /** The length of the error indicators for all data points is
70 calculated by taking the percentage given as
71 <member>ChartStatistics::ErrorMargin</member> of the largest
72 data point value.
74 @see ChartStatistics
76 const long ERROR_MARGIN = 5;
78 /** displays error indicators for the standard error, also known
79 as the standard deviation of the mean (SDOM).
81 const long STANDARD_ERROR = 6;
83 /** Uses values given by cell ranges of the container document.
85 <p>The values for the cell ranges are given in the properties
86 <member>ChartStatistics::ErrorBarRangePositive</member> for
87 positive indicators and
88 <member>ChartStatistics::ErrorBarRangeNegative</member> for
89 negative indicators.</p>
91 const long FROM_DATA = 7;
94 //=============================================================================
96 }; }; }; };
98 #endif