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
10d1766043SAndrew Rist *
11d1766043SAndrew Rist *   http://www.apache.org/licenses/LICENSE-2.0
12d1766043SAndrew Rist *
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.
19d1766043SAndrew Rist *
20d1766043SAndrew Rist *************************************************************/
21d1766043SAndrew Rist
22d1766043SAndrew Rist
23cdf0e10cSrcweir#ifndef com_sun_star_chart2_data_DataSequenceRole_idl
24cdf0e10cSrcweir#define com_sun_star_chart2_data_DataSequenceRole_idl
25cdf0e10cSrcweir
26cdf0e10cSrcweirmodule com
27cdf0e10cSrcweir{
28cdf0e10cSrcweirmodule sun
29cdf0e10cSrcweir{
30cdf0e10cSrcweirmodule star
31cdf0e10cSrcweir{
32cdf0e10cSrcweirmodule chart2
33cdf0e10cSrcweir{
34cdf0e10cSrcweirmodule data
35cdf0e10cSrcweir{
36cdf0e10cSrcweir
37cdf0e10cSrcweir/** a string that states in what way a <type>DataSequence</type>
38cdf0e10cSrcweir    should be used.  If this property is an empty string, no
39cdf0e10cSrcweir    proposition about usage is made.
40cdf0e10cSrcweir
41cdf0e10cSrcweir    <p>The strings can have any value.  However some values are
42cdf0e10cSrcweir    predefined and should always be interpreted in the same way.</p>
43cdf0e10cSrcweir
44cdf0e10cSrcweir    <dl>
45cdf0e10cSrcweir     <dt>label</dt>
46cdf0e10cSrcweir       <dd>values are used as a label for a series.  Usually, you
47cdf0e10cSrcweir           will have just one cell containing a string.</dd>
48cdf0e10cSrcweir     <dt>values-x</dt>
49cdf0e10cSrcweir       <dd>values are used as x-values in an XY- or bubble
50cdf0e10cSrcweir           diagram</dd>
51cdf0e10cSrcweir     <dt>values-y</dt>
52cdf0e10cSrcweir       <dd>values are used as y-values in an XY-Diagram or as values
53cdf0e10cSrcweir           in a bar, line, etc. chart</dd>
54cdf0e10cSrcweir     <dt>values-z</dt>
55cdf0e10cSrcweir       <dd>values may be used as z-values in a three-dimensional
56cdf0e10cSrcweir           XYZ-Diagram or a surface-chart</dd>
57cdf0e10cSrcweir     <dt>sizes</dt>
58cdf0e10cSrcweir       <dd>values are used as radius of the bubbles in a
59cdf0e10cSrcweir           Bubble-Diagram</dd>
60cdf0e10cSrcweir     <dt>error-bars-x-positive</dt>
61cdf0e10cSrcweir       <dd>values are used as error-information in positive x-direction for
62cdf0e10cSrcweir           displaying error-bars</dd>
63cdf0e10cSrcweir     <dt>error-bars-x-negative</dt>
64cdf0e10cSrcweir       <dd>values are used as error-information in negative x-direction for
65cdf0e10cSrcweir           displaying error-bars</dd>
66cdf0e10cSrcweir     <dt>error-bars-y-positive</dt>
67cdf0e10cSrcweir       <dd>values are used as error-information in positive y-direction for
68cdf0e10cSrcweir           displaying error-bars</dd>
69cdf0e10cSrcweir     <dt>error-bars-y-negative</dt>
70cdf0e10cSrcweir       <dd>values are used as error-information in negative y-direction for
71cdf0e10cSrcweir           displaying error-bars</dd>
72cdf0e10cSrcweir     <dt>categories</dt>
73cdf0e10cSrcweir       <dd>values are used for categories in the diagram</dd>
74cdf0e10cSrcweir    </dl>
75cdf0e10cSrcweir
76cdf0e10cSrcweir    <p>In a candle-stick chart you have the following roles:</p>
77cdf0e10cSrcweir
78cdf0e10cSrcweir    <dl>
79cdf0e10cSrcweir     <dt>values-first</dt>
80cdf0e10cSrcweir      <dd>the first value of a series of values.  In a stock-chart this
81cdf0e10cSrcweir          would be the opening course.</dd>
82cdf0e10cSrcweir     <dt>values-last</dt>
83cdf0e10cSrcweir      <dd>the last value of a series of values.  In a stock-chart this
84cdf0e10cSrcweir          would be the closing course.</dd>
85cdf0e10cSrcweir     <dt>values-min</dt>
86cdf0e10cSrcweir      <dd>the minimum value of a series of values.  In a stock-chart
87*a893be29SPedro Giffuni          this would be the lowest course that occurred during
88cdf0e10cSrcweir          trading.</dd>
89cdf0e10cSrcweir     <dt>values-max</dt>
90cdf0e10cSrcweir      <dd>the maximum value of a series of values.  In a stock-chart
91*a893be29SPedro Giffuni          this would be the highest course that occurred during
92cdf0e10cSrcweir          trading.</dd>
93cdf0e10cSrcweir    </dl>
94cdf0e10cSrcweir */
95cdf0e10cSrcweirtypedef string DataSequenceRole;
96cdf0e10cSrcweir
97cdf0e10cSrcweir} ; // data
98cdf0e10cSrcweir} ; // chart2
99cdf0e10cSrcweir} ; // com
100cdf0e10cSrcweir} ; // sun
101cdf0e10cSrcweir} ; // star
102cdf0e10cSrcweir
103cdf0e10cSrcweir
104cdf0e10cSrcweir#endif
105