1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements.  See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership.  The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance
9 * with the License.  You may obtain a copy of the License at
10 *
11 *   http://www.apache.org/licenses/LICENSE-2.0
12 *
13 * Unless required by applicable law or agreed to in writing,
14 * software distributed under the License is distributed on an
15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 * KIND, either express or implied.  See the License for the
17 * specific language governing permissions and limitations
18 * under the License.
19 *
20 *************************************************************/
21
22
23#ifndef __com_sun_star_chart_BarDiagram_idl__
24#define __com_sun_star_chart_BarDiagram_idl__
25
26#ifndef __com_sun_star_chart_Diagram_idl__
27#include <com/sun/star/chart/Diagram.idl>
28#endif
29
30#ifndef __com_sun_star_chart_ChartStatistics_idl__
31#include <com/sun/star/chart/ChartStatistics.idl>
32#endif
33
34#ifndef __com_sun_star_chart_ChartAxisXSupplier_idl__
35#include <com/sun/star/chart/ChartAxisXSupplier.idl>
36#endif
37
38#ifndef __com_sun_star_chart_ChartTwoAxisYSupplier_idl__
39#include <com/sun/star/chart/ChartTwoAxisYSupplier.idl>
40#endif
41
42#ifndef __com_sun_star_chart_ChartAxisZSupplier_idl__
43#include <com/sun/star/chart/ChartAxisZSupplier.idl>
44#endif
45
46#ifndef __com_sun_star_chart_Dim3DDiagram_idl__
47#include <com/sun/star/chart/Dim3DDiagram.idl>
48#endif
49
50#ifndef __com_sun_star_chart_StackableDiagram_idl__
51#include <com/sun/star/chart/StackableDiagram.idl>
52#endif
53
54
55//=============================================================================
56
57 module com {  module sun {  module star {  module chart {
58
59//=============================================================================
60
61/**This is a service for bar and column diagrams.
62 */
63published service BarDiagram
64{
65	service com::sun::star::chart::Diagram;
66	service com::sun::star::chart::ChartStatistics;
67	service com::sun::star::chart::ChartAxisXSupplier;
68	service com::sun::star::chart::ChartTwoAxisYSupplier;
69	service com::sun::star::chart::ChartAxisZSupplier;
70	service com::sun::star::chart::Dim3DDiagram;
71	service com::sun::star::chart::StackableDiagram;
72
73	//-------------------------------------------------------------------------
74
75	/** Determines if the bars of a chart are drawn vertically or
76		horizontally.  Default is vertical.
77
78        <p>If Vertical is <FALSE/> you get a column chart rather than
79        a bar chart.</p>
80	 */
81	[property] boolean Vertical;
82
83	//-------------------------------------------------------------------------
84
85	/** If <TRUE/>, determines that in a three-dimensional bar chart
86        the bars of each series are arranged behind each other in the
87        z-direction.  If <FALSE/> the arrangement of bars is like in
88        two-dimensional bar charts.
89	 */
90	[optional, property] boolean Deep;
91
92	//-------------------------------------------------------------------------
93
94	/** determines if, in a stacked chart, there are connecting lines
95		between corresponding bars. Currently, bar charts with
96		horizontal bars do not support this property.
97	 */
98	[optional, property] boolean StackedBarsConnected;
99
100	//-------------------------------------------------------------------------
101
102    /** If bars of a bar or column chart are attached to different
103        axis, this property determines how to display those.  If
104        <TRUE/>, the bars are grouped together in one block for each
105        axis, thus they are painted one group over the other.
106
107        <p>If <FALSE/>, the bars are displayed side-by-side, as if
108        they were all attached to the same axis.</p>
109
110        <p>If all data series of a bar or column chart are attached to
111        only one axis, this property has no effect.</p>
112    */
113    [optional, property] boolean GroupBarsPerAxis;
114
115    //-------------------------------------------------------------------------
116
117
118	/** Determines how many data rows are displayed as lines rather than
119		bars.
120
121		<p>If this property differs from zero the last
122		<member>BarDiagram::NumberOfLines</member> data rows are shown as lines. It is
123		currently supported by two dimensional vertical bar charts only. </p>
124
125		@deprecated
126	 */
127	[property] long NumberOfLines;
128};
129
130//=============================================================================
131
132}; }; }; };
133
134#endif
135