1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*************************************************************************
4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
6 * Copyright 2000, 2010 Oracle and/or its affiliates.
8 * OpenOffice.org - a multi-platform office productivity suite
10 * This file is part of OpenOffice.org.
12 * OpenOffice.org is free software: you can redistribute it and/or modify
13 * it under the terms of the GNU Lesser General Public License version 3
14 * only, as published by the Free Software Foundation.
16 * OpenOffice.org is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU Lesser General Public License version 3 for more details
20 * (a copy is included in the LICENSE file that accompanied this code).
22 * You should have received a copy of the GNU Lesser General Public License
23 * version 3 along with OpenOffice.org. If not, see
24 * <http://www.openoffice.org/license.html>
25 * for a copy of the LGPLv3 License.
27 ************************************************************************/
28 #ifndef com_sun_star_chart_Diagram_idl
29 #define com_sun_star_chart_Diagram_idl
31 #include
<com
/sun
/star
/chart2
/XDiagram.idl
>
32 #include
<com
/sun
/star
/chart2
/XCoordinateSystemContainer.idl
>
33 #include
<com
/sun
/star
/chart2
/XTitled.idl
>
34 #include
<com
/sun
/star
/chart2
/RelativePosition.idl
>
35 #include
<com
/sun
/star
/chart2
/RelativeSize.idl
>
36 #include
<com
/sun
/star
/chart
/X3DDefaultSetter.idl
>
53 interface ::com
::sun
::star
::chart2
::XDiagram
;
57 interface ::com
::sun
::star
::chart2
::XCoordinateSystemContainer
;
59 /** gives access to the sub title of a chart document
63 /** makes it easy to set suitable defaults for illumination and rotation for 3D charts
65 [optional] interface ::com
::sun
::star
::chart
::X3DDefaultSetter
;
67 /** The position is as a relative position on the page.
69 <p>If a relative position is given the diagram is not automatically placed,
70 but instead is placed relative on the page.</p>
72 [property
, maybevoid
] ::com
::sun
::star
::chart2
::RelativePosition RelativePosition
;
74 /** The size of the diagram as relative size of the page size.
76 [property
] ::com
::sun
::star
::chart2
::RelativeSize RelativeSize
;
78 /** The attributes RelativePosition and RelativeSize should be used for the inner coordinate region without axis labels and without data labels.
80 [optional, property
] boolean PosSizeExcludeLabels
;
82 /** Sort data points by x values for rendering
84 [optional, property
] boolean SortByXValues
;
86 /** Draw connection lines for stacked bar charts.
88 [optional, property
] boolean ConnectBars
;
90 /** If bars of a bar or column chart are attached to different
91 axis, this property determines how to display those. If
92 <TRUE/>, the bars are grouped together in one block for each
93 axis, thus they are painted one group over the other.
95 <p>If <FALSE/>, the bars are displayed side-by-side, as if
96 they were all attached to the same axis.</p>
98 <p>If all data series of a bar or column chart are attached to
99 only one axis, this property has no effect.</p>
101 [optional, property
] boolean GroupBarsPerAxis
;
103 /** Starting angle in degrees for pie charts and doughnut charts.
105 [optional, property
] long StartingAngle
;
107 [optional, property
] boolean RightAngledAxes
;
109 /** Perspective of 3D charts ( [0,100] ).
111 [optional, property
] long Perspective
;
113 /** Horizontal rotation of 3D charts in degrees ( ]-180,180] ).
115 [optional, property
] long RotationHorizontal
;
117 /** Vertical rotation of 3D charts in degrees ( ]-180,180] ).
119 [optional, property
] long RotationVertical
;
121 /** specifies how empty or invalid cells in the provided data should be handled when displayed
123 @see ::com::sun::star::chart::MissingValueTreatment
125 [optional, property
] long MissingValueTreatment
;
135 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */