Version 5.2.6.1, tag libreoffice-5.2.6.1
[LibreOffice.git] / offapi / com / sun / star / chart2 / DataPointLabel.idl
blob5963e8dd93b2f5c7a85fac991d557a9d0dffad34
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
19 #ifndef com_sun_star_chart2_DataPointLabel_idl
20 #define com_sun_star_chart2_DataPointLabel_idl
23 module com
25 module sun
27 module star
29 module chart2
32 struct DataPointLabel
34 /** if `TRUE`, the value that is represented by a data point is
35 displayed next to it.
37 @see #ShowNumberInPercent
39 boolean ShowNumber;
41 /** This is only effective, if #ShowNumber is
42 `TRUE`. If this member is also `TRUE`, the numbers are
43 displayed as percentages of a category.
45 <p>That means, if a data point is the first one of a series,
46 the percentage is calculated by using the first data points of
47 all available series.</p>
49 boolean ShowNumberInPercent;
51 /** The caption contains the category name of the category to
52 which a data point belongs.
54 boolean ShowCategoryName;
56 /** The symbol of data series is additionally displayed in the
57 caption.
59 boolean ShowLegendSymbol;
64 } ; // chart2
65 } ; // com
66 } ; // sun
67 } ; // star
69 #endif
71 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */