xref: /aoo41x/main/offapi/com/sun/star/chart2/Diagram.idl (revision d1766043)
1*d1766043SAndrew Rist/**************************************************************
2cdf0e10cSrcweir *
3*d1766043SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one
4*d1766043SAndrew Rist * or more contributor license agreements.  See the NOTICE file
5*d1766043SAndrew Rist * distributed with this work for additional information
6*d1766043SAndrew Rist * regarding copyright ownership.  The ASF licenses this file
7*d1766043SAndrew Rist * to you under the Apache License, Version 2.0 (the
8*d1766043SAndrew Rist * "License"); you may not use this file except in compliance
9*d1766043SAndrew Rist * with the License.  You may obtain a copy of the License at
10*d1766043SAndrew Rist *
11*d1766043SAndrew Rist *   http://www.apache.org/licenses/LICENSE-2.0
12*d1766043SAndrew Rist *
13*d1766043SAndrew Rist * Unless required by applicable law or agreed to in writing,
14*d1766043SAndrew Rist * software distributed under the License is distributed on an
15*d1766043SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*d1766043SAndrew Rist * KIND, either express or implied.  See the License for the
17*d1766043SAndrew Rist * specific language governing permissions and limitations
18*d1766043SAndrew Rist * under the License.
19*d1766043SAndrew Rist *
20*d1766043SAndrew Rist *************************************************************/
21*d1766043SAndrew Rist
22*d1766043SAndrew Rist
23cdf0e10cSrcweir#ifndef com_sun_star_chart_Diagram_idl
24cdf0e10cSrcweir#define com_sun_star_chart_Diagram_idl
25cdf0e10cSrcweir
26cdf0e10cSrcweir#ifndef com_sun_star_chart2_XDiagram_idl__
27cdf0e10cSrcweir#include <com/sun/star/chart2/XDiagram.idl>
28cdf0e10cSrcweir#endif
29cdf0e10cSrcweir
30cdf0e10cSrcweir#include <com/sun/star/chart2/XCoordinateSystemContainer.idl>
31cdf0e10cSrcweir#include <com/sun/star/chart2/XTitled.idl>
32cdf0e10cSrcweir#include <com/sun/star/chart2/RelativePosition.idl>
33cdf0e10cSrcweir#include <com/sun/star/layout/RelativeSize.idl>
34cdf0e10cSrcweir#include <com/sun/star/chart/X3DDefaultSetter.idl>
35cdf0e10cSrcweir
36cdf0e10cSrcweirmodule com
37cdf0e10cSrcweir{
38cdf0e10cSrcweirmodule sun
39cdf0e10cSrcweir{
40cdf0e10cSrcweirmodule star
41cdf0e10cSrcweir{
42cdf0e10cSrcweirmodule chart2
43cdf0e10cSrcweir{
44cdf0e10cSrcweir
45cdf0e10cSrcweir/**
46cdf0e10cSrcweir */
47cdf0e10cSrcweirservice Diagram
48cdf0e10cSrcweir{
49cdf0e10cSrcweir    /**
50cdf0e10cSrcweir     */
51cdf0e10cSrcweir    interface ::com::sun::star::chart2::XDiagram;
52cdf0e10cSrcweir
53cdf0e10cSrcweir    /**
54cdf0e10cSrcweir     */
55cdf0e10cSrcweir    interface ::com::sun::star::chart2::XCoordinateSystemContainer;
56cdf0e10cSrcweir
57cdf0e10cSrcweir    /** gives access to the sub title of a chart document
58cdf0e10cSrcweir     */
59cdf0e10cSrcweir    interface  XTitled;
60cdf0e10cSrcweir
61cdf0e10cSrcweir    /** makes it easy to set suiteable defaults for illumination and rotation for 3D charts
62cdf0e10cSrcweir     */
63cdf0e10cSrcweir    [optional] interface ::com::sun::star::chart::X3DDefaultSetter;
64cdf0e10cSrcweir
65cdf0e10cSrcweir    /** The position is as a relative position on the page.
66cdf0e10cSrcweir
67cdf0e10cSrcweir        <p>If a relative position is given the diagam is not automatically placed,
68cdf0e10cSrcweir        but instead is placed relative on the page.</p>
69cdf0e10cSrcweir     */
70cdf0e10cSrcweir    [property, maybevoid] ::com::sun::star::chart2::RelativePosition RelativePosition;
71cdf0e10cSrcweir
72cdf0e10cSrcweir    /** The size of the diagram as relative size of the page size.
73cdf0e10cSrcweir     */
74cdf0e10cSrcweir    [property] ::com::sun::star::layout::RelativeSize RelativeSize;
75cdf0e10cSrcweir
76cdf0e10cSrcweir    /** The attributes RelativePosition and RelativeSize should be used for the inner coordinate region without axis labels and without data labels.
77cdf0e10cSrcweir     */
78cdf0e10cSrcweir    [optional, property] boolean                    PosSizeExcludeLabels;
79cdf0e10cSrcweir
80cdf0e10cSrcweir    /** Sort data points by x values for rendering
81cdf0e10cSrcweir     */
82cdf0e10cSrcweir    [optional, property] boolean                    SortByXValues;
83cdf0e10cSrcweir
84cdf0e10cSrcweir    /** Draw connection lines for stacked bar charts.
85cdf0e10cSrcweir     */
86cdf0e10cSrcweir    [optional, property] boolean                    ConnectBars;
87cdf0e10cSrcweir
88cdf0e10cSrcweir    /** If bars of a bar or column chart are attached to different
89cdf0e10cSrcweir        axis, this property determines how to display those.  If
90cdf0e10cSrcweir        <TRUE/>, the bars are grouped together in one block for each
91cdf0e10cSrcweir        axis, thus they are painted one group over the other.
92cdf0e10cSrcweir
93cdf0e10cSrcweir        <p>If <FALSE/>, the bars are displayed side-by-side, as if
94cdf0e10cSrcweir        they were all attached to the same axis.</p>
95cdf0e10cSrcweir
96cdf0e10cSrcweir        <p>If all data series of a bar or column chart are attached to
97cdf0e10cSrcweir        only one axis, this property has no effect.</p>
98cdf0e10cSrcweir    */
99cdf0e10cSrcweir    [optional, property] boolean                    GroupBarsPerAxis;
100cdf0e10cSrcweir
101cdf0e10cSrcweir    /** Starting angle in degrees for pie charts and doughnut charts.
102cdf0e10cSrcweir     */
103cdf0e10cSrcweir    [optional, property] long                       StartingAngle;
104cdf0e10cSrcweir
105cdf0e10cSrcweir    [optional, property] boolean                    RightAngledAxes;
106cdf0e10cSrcweir
107cdf0e10cSrcweir    /** Perspective of 3D charts ( [0,100] ).
108cdf0e10cSrcweir     */
109cdf0e10cSrcweir    [optional, property] long                       Perspective;
110cdf0e10cSrcweir
111cdf0e10cSrcweir    /** Horizontal rotation of 3D charts in degrees ( ]-180,180] ).
112cdf0e10cSrcweir     */
113cdf0e10cSrcweir    [optional, property] long                       RotationHorizontal;
114cdf0e10cSrcweir
115cdf0e10cSrcweir    /** Vertical rotation of 3D charts in degrees ( ]-180,180] ).
116cdf0e10cSrcweir     */
117cdf0e10cSrcweir    [optional, property] long                       RotationVertical;
118cdf0e10cSrcweir
119cdf0e10cSrcweir    /** specifies how empty or invalid cells in the provided data should be handled when displayed
120cdf0e10cSrcweir
121cdf0e10cSrcweir        @see ::com::sun::star::chart::MissingValueTreatment
122cdf0e10cSrcweir	 */
123cdf0e10cSrcweir    [optional, property] long                       MissingValueTreatment;
124cdf0e10cSrcweir};
125cdf0e10cSrcweir
126cdf0e10cSrcweir} ; // chart2
127cdf0e10cSrcweir} ; // com
128cdf0e10cSrcweir} ; // sun
129cdf0e10cSrcweir} ; // star
130cdf0e10cSrcweir
131cdf0e10cSrcweir#endif
132