summaryrefslogtreecommitdiffstats
path: root/offapi/com/sun/star/chart2/data/DataSequenceRole.idl
blob: 90fd2abd94015384f6ce636dd0df21fc116eecae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
 * This file is part of the LibreOffice project.
 *
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
 *
 * This file incorporates work covered by the following license notice:
 *
 *   Licensed to the Apache Software Foundation (ASF) under one or more
 *   contributor license agreements. See the NOTICE file distributed
 *   with this work for additional information regarding copyright
 *   ownership. The ASF licenses this file to you under the Apache
 *   License, Version 2.0 (the "License"); you may not use this file
 *   except in compliance with the License. You may obtain a copy of
 *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
 */
#ifndef com_sun_star_chart2_data_DataSequenceRole_idl
#define com_sun_star_chart2_data_DataSequenceRole_idl

module com
{
module sun
{
module star
{
module chart2
{
module data
{

/** a string that states in what way a DataSequence
    should be used.  If this property is an empty string, no
    proposition about usage is made.

    <p>The strings can have any value.  However some values are
    predefined and should always be interpreted in the same way.</p>

    <dl>
     <dt>label</dt>
       <dd>values are used as a label for a series.  Usually, you
           will have just one cell containing a string.</dd>
     <dt>values-x</dt>
       <dd>values are used as x-values in an XY- or bubble
           diagram</dd>
     <dt>values-y</dt>
       <dd>values are used as y-values in an XY-Diagram or as values
           in a bar, line, etc. chart</dd>
     <dt>values-z</dt>
       <dd>values may be used as z-values in a three-dimensional
           XYZ-Diagram or a surface-chart</dd>
     <dt>sizes</dt>
       <dd>values are used as radius of the bubbles in a
           Bubble-Diagram</dd>
     <dt>error-bars-x-positive</dt>
       <dd>values are used as error-information in positive x-direction for
           displaying error-bars</dd>
     <dt>error-bars-x-negative</dt>
       <dd>values are used as error-information in negative x-direction for
           displaying error-bars</dd>
     <dt>error-bars-y-positive</dt>
       <dd>values are used as error-information in positive y-direction for
           displaying error-bars</dd>
     <dt>error-bars-y-negative</dt>
       <dd>values are used as error-information in negative y-direction for
           displaying error-bars</dd>
     <dt>categories</dt>
       <dd>values are used for categories in the diagram</dd>
    </dl>

    <p>In a candle-stick chart you have the following roles:</p>

    <dl>
     <dt>values-first</dt>
      <dd>the first value of a series of values.  In a stock-chart this
          would be the opening course.</dd>
     <dt>values-last</dt>
      <dd>the last value of a series of values.  In a stock-chart this
          would be the closing course.</dd>
     <dt>values-min</dt>
      <dd>the minimum value of a series of values.  In a stock-chart
          this would be the lowest course that occurred during
          trading.</dd>
     <dt>values-max</dt>
      <dd>the maximum value of a series of values.  In a stock-chart
          this would be the highest course that occurred during
          trading.</dd>
    </dl>
 */
typedef string DataSequenceRole;

} ; // data
} ; // chart2
} ; // com
} ; // sun
} ; // star


#endif

/* vim:set shiftwidth=4 softtabstop=4 expandtab: */