update dev300-m58
[ooovba.git] / offapi / com / sun / star / chart / BarDiagram.idl
blob74654542bdaba6a364438be153c5e4b605e3729b
1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: BarDiagram.idl,v $
10 * $Revision: 1.13 $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
30 #ifndef __com_sun_star_chart_BarDiagram_idl__
31 #define __com_sun_star_chart_BarDiagram_idl__
33 #ifndef __com_sun_star_chart_Diagram_idl__
34 #include <com/sun/star/chart/Diagram.idl>
35 #endif
37 #ifndef __com_sun_star_chart_ChartStatistics_idl__
38 #include <com/sun/star/chart/ChartStatistics.idl>
39 #endif
41 #ifndef __com_sun_star_chart_ChartAxisXSupplier_idl__
42 #include <com/sun/star/chart/ChartAxisXSupplier.idl>
43 #endif
45 #ifndef __com_sun_star_chart_ChartTwoAxisYSupplier_idl__
46 #include <com/sun/star/chart/ChartTwoAxisYSupplier.idl>
47 #endif
49 #ifndef __com_sun_star_chart_ChartAxisZSupplier_idl__
50 #include <com/sun/star/chart/ChartAxisZSupplier.idl>
51 #endif
53 #ifndef __com_sun_star_chart_Dim3DDiagram_idl__
54 #include <com/sun/star/chart/Dim3DDiagram.idl>
55 #endif
57 #ifndef __com_sun_star_chart_StackableDiagram_idl__
58 #include <com/sun/star/chart/StackableDiagram.idl>
59 #endif
62 //=============================================================================
64 module com { module sun { module star { module chart {
66 //=============================================================================
68 /**This is a service for bar and column diagrams.
70 published service BarDiagram
72 service com::sun::star::chart::Diagram;
73 service com::sun::star::chart::ChartStatistics;
74 service com::sun::star::chart::ChartAxisXSupplier;
75 service com::sun::star::chart::ChartTwoAxisYSupplier;
76 service com::sun::star::chart::ChartAxisZSupplier;
77 service com::sun::star::chart::Dim3DDiagram;
78 service com::sun::star::chart::StackableDiagram;
80 //-------------------------------------------------------------------------
82 /** Determines if the bars of a chart are drawn vertically or
83 horizontally. Default is vertical.
85 <p>If Vertical is <FALSE/> you get a column chart rather than
86 a bar chart.</p>
88 [property] boolean Vertical;
90 //-------------------------------------------------------------------------
92 /** If <TRUE/>, determines that in a three-dimensional bar chart
93 the bars of each series are arranged behind each other in the
94 z-direction. If <FALSE/> the arrangement of bars is like in
95 two-dimensional bar charts.
97 [optional, property] boolean Deep;
99 //-------------------------------------------------------------------------
101 /** determines if, in a stacked chart, there are connecting lines
102 between corresponding bars. Currently, bar charts with
103 horizontal bars do not support this property.
105 [optional, property] boolean StackedBarsConnected;
107 //-------------------------------------------------------------------------
109 /** If bars of a bar or column chart are attached to different
110 axis, this property determines how to display those. If
111 <TRUE/>, the bars are grouped together in one block for each
112 axis, thus they are painted one group over the other.
114 <p>If <FALSE/>, the bars are displayed side-by-side, as if
115 they were all attached to the same axis.</p>
117 <p>If all data series of a bar or column chart are attached to
118 only one axis, this property has no effect.</p>
120 [optional, property] boolean GroupBarsPerAxis;
122 //-------------------------------------------------------------------------
125 /** Determines how many data rows are displayed as lines rather than
126 bars.
128 <p>If this property differs from zero the last
129 <member>BarDiagram::NumberOfLines</member> data rows are shown as lines. It is
130 currently supported by two dimensional vertical bar charts only. </p>
132 @deprecated
134 [property] long NumberOfLines;
137 //=============================================================================
139 }; }; }; };
141 #endif