1*d1766043SAndrew Rist/************************************************************** 2cdf0e10cSrcweir * 3*d1766043SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one 4*d1766043SAndrew Rist * or more contributor license agreements. See the NOTICE file 5*d1766043SAndrew Rist * distributed with this work for additional information 6*d1766043SAndrew Rist * regarding copyright ownership. The ASF licenses this file 7*d1766043SAndrew Rist * to you under the Apache License, Version 2.0 (the 8*d1766043SAndrew Rist * "License"); you may not use this file except in compliance 9*d1766043SAndrew Rist * with the License. You may obtain a copy of the License at 10cdf0e10cSrcweir * 11*d1766043SAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0 12cdf0e10cSrcweir * 13*d1766043SAndrew Rist * Unless required by applicable law or agreed to in writing, 14*d1766043SAndrew Rist * software distributed under the License is distributed on an 15*d1766043SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16*d1766043SAndrew Rist * KIND, either express or implied. See the License for the 17*d1766043SAndrew Rist * specific language governing permissions and limitations 18*d1766043SAndrew Rist * under the License. 19cdf0e10cSrcweir * 20*d1766043SAndrew Rist *************************************************************/ 21*d1766043SAndrew Rist 22*d1766043SAndrew Rist 23cdf0e10cSrcweir#ifndef com_sun_star_chart_ErrorBarStyle_idl 24cdf0e10cSrcweir#define com_sun_star_chart_ErrorBarStyle_idl 25cdf0e10cSrcweir 26cdf0e10cSrcweirmodule com { module sun { module star { module chart { 27cdf0e10cSrcweir 28cdf0e10cSrcweir/** specifies the style of error indicators. 29cdf0e10cSrcweir */ 30cdf0e10cSrcweirpublished constants ErrorBarStyle 31cdf0e10cSrcweir{ 32cdf0e10cSrcweir /** error indicators are not displayed. 33cdf0e10cSrcweir */ 34cdf0e10cSrcweir const long NONE = 0; 35cdf0e10cSrcweir 36cdf0e10cSrcweir /** displays error indicators for the variance of the data. 37cdf0e10cSrcweir */ 38cdf0e10cSrcweir const long VARIANCE = 1; 39cdf0e10cSrcweir 40cdf0e10cSrcweir /** displays error indicators for the standard deviation (square 41cdf0e10cSrcweir root of variance) of the data. 42cdf0e10cSrcweir */ 43cdf0e10cSrcweir const long STANDARD_DEVIATION = 2; 44cdf0e10cSrcweir 45cdf0e10cSrcweir /** the error indicators for all data points have the same 46cdf0e10cSrcweir absolute value as length for either direction. 47cdf0e10cSrcweir 48cdf0e10cSrcweir <p>The values for these are given as absolute numbers in 49cdf0e10cSrcweir <member>ChartStatistics::ConstantErrorLow</member> and 50cdf0e10cSrcweir <member>ChartStatistics::ConstantErrorHigh</member></p> 51cdf0e10cSrcweir 52cdf0e10cSrcweir @see ChartStatistics 53cdf0e10cSrcweir */ 54cdf0e10cSrcweir const long ABSOLUTE = 3; 55cdf0e10cSrcweir 56cdf0e10cSrcweir /** The length of the error indicators is calculated for each data 57cdf0e10cSrcweir point by taking the percentage given as 58cdf0e10cSrcweir <member>ChartStatistics::PercentageError</member> of its 59cdf0e10cSrcweir value. 60cdf0e10cSrcweir 61cdf0e10cSrcweir @see ChartStatistics 62cdf0e10cSrcweir */ 63cdf0e10cSrcweir const long RELATIVE = 4; 64cdf0e10cSrcweir 65cdf0e10cSrcweir /** The length of the error indicators for all data points is 66cdf0e10cSrcweir calculated by taking the percentage given as 67cdf0e10cSrcweir <member>ChartStatistics::ErrorMargin</member> of the largest 68cdf0e10cSrcweir data point value. 69cdf0e10cSrcweir 70cdf0e10cSrcweir @see ChartStatistics 71cdf0e10cSrcweir */ 72cdf0e10cSrcweir const long ERROR_MARGIN = 5; 73cdf0e10cSrcweir 74cdf0e10cSrcweir /** displays error indicators for the standard error, also known 75cdf0e10cSrcweir as the standard deviation of the mean (SDOM). 76cdf0e10cSrcweir */ 77cdf0e10cSrcweir const long STANDARD_ERROR = 6; 78cdf0e10cSrcweir 79cdf0e10cSrcweir /** Uses values given by cell ranges of the container document. 80cdf0e10cSrcweir 81cdf0e10cSrcweir <p>The values for the cell ranges are given in the properties 82cdf0e10cSrcweir <member>ChartStatistics::ErrorBarRangePositive</member> for 83cdf0e10cSrcweir positive indicators and 84cdf0e10cSrcweir <member>ChartStatistics::ErrorBarRangeNegative</member> for 85cdf0e10cSrcweir negative indicators.</p> 86cdf0e10cSrcweir */ 87cdf0e10cSrcweir const long FROM_DATA = 7; 88cdf0e10cSrcweir}; 89cdf0e10cSrcweir 90cdf0e10cSrcweir//============================================================================= 91cdf0e10cSrcweir 92cdf0e10cSrcweir}; }; }; }; 93cdf0e10cSrcweir 94cdf0e10cSrcweir#endif 95