This file is indexed.

/usr/share/qt5/doc/qtcharts/qabstractbarseries.html is in qtcharts5-doc-html 5.9.5-0ubuntu1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html lang="en">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- qabstractbarseries.cpp -->
  <title>QAbstractBarSeries Class | Qt Charts 5.9</title>
  <link rel="stylesheet" type="text/css" href="style/offline-simple.css" />
  <script type="text/javascript">
    document.getElementsByTagName("link").item(0).setAttribute("href", "style/offline.css");
    // loading style sheet breaks anchors that were jumped to before
    // so force jumping to anchor again
    setTimeout(function() {
        var anchor = location.hash;
        // need to jump to different anchor first (e.g. none)
        location.hash = "#";
        setTimeout(function() {
            location.hash = anchor;
        }, 0);
    }, 0);
  </script>
</head>
<body>
<div class="header" id="qtdocheader">
  <div class="main">
    <div class="main-rounded">
      <div class="navigationbar">
        <table><tr>
<td >Qt 5.9</td><td ><a href="qtcharts-index.html">Qt Charts</a></td><td ><a href="qt-charts-module.html">C++ Classes</a></td><td >QAbstractBarSeries</td></tr></table><table class="buildversion"><tr>
<td id="buildversion" width="100%" align="right">Qt 5.9.5 Reference Documentation</td>
        </tr></table>
      </div>
    </div>
<div class="content">
<div class="line">
<div class="content mainContent">
<div class="sidebar">
<div class="toc">
<h3><a name="toc">Contents</a></h3>
<ul>
<li class="level1"><a href="#public-types">Public Types</a></li>
<li class="level1"><a href="#properties">Properties</a></li>
<li class="level1"><a href="#public-functions">Public Functions</a></li>
<li class="level1"><a href="#signals">Signals</a></li>
<li class="level1"><a href="#details">Detailed Description</a></li>
</ul>
</div>
<div class="sidebar-content" id="sidebar-content"></div></div>
<h1 class="title">QAbstractBarSeries Class</h1>
<!-- $$$QAbstractBarSeries-brief -->
<p>The <a href="qabstractbarseries.html">QAbstractBarSeries</a> class is an abstract parent class for all bar series classes. <a href="#details">More...</a></p>
<!-- @@@QAbstractBarSeries -->
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> Header:</td><td class="memItemRight bottomAlign">   <span class="preprocessor">#include &lt;QAbstractBarSeries&gt;</span>
</td></tr><tr><td class="memItemLeft rightAlign topAlign"> Instantiated By:</td><td class="memItemRight bottomAlign"> <a href="qml-qtcharts-abstractbarseries.html">AbstractBarSeries</a></td></tr><tr><td class="memItemLeft rightAlign topAlign"> Inherits:</td><td class="memItemRight bottomAlign"> <a href="qabstractseries.html">QAbstractSeries</a></td></tr><tr><td class="memItemLeft rightAlign topAlign"> Inherited By:</td><td class="memItemRight bottomAlign"> <p><a href="qbarseries.html">QBarSeries</a>, <a href="qhorizontalbarseries.html">QHorizontalBarSeries</a>, <a href="qhorizontalpercentbarseries.html">QHorizontalPercentBarSeries</a>, <a href="qhorizontalstackedbarseries.html">QHorizontalStackedBarSeries</a>, <a href="qpercentbarseries.html">QPercentBarSeries</a>, and <a href="qstackedbarseries.html">QStackedBarSeries</a></p>
</td></tr></table></div><ul>
<li><a href="qabstractbarseries-members.html">List of all members, including inherited members</a></li>
</ul>
<a name="public-types"></a>
<h2 id="public-types">Public Types</h2>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> enum </td><td class="memItemRight bottomAlign"><b><a href="qabstractbarseries.html#LabelsPosition-enum">LabelsPosition</a></b> { LabelsCenter, LabelsInsideEnd, LabelsInsideBase, LabelsOutsideEnd }</td></tr>
</table></div>
<a name="properties"></a>
<h2 id="properties">Properties</h2>
<div class="table"><table class="propsummary">
<tr><td class="topAlign"><ul>
<li class="fn"><b><a href="qabstractbarseries.html#barWidth-prop">barWidth</a></b> : qreal</li>
<li class="fn"><b><a href="qabstractbarseries.html#count-prop">count</a></b> : const int</li>
<li class="fn"><b><a href="qabstractbarseries.html#labelsAngle-prop">labelsAngle</a></b> : qreal</li>
</ul></td><td class="topAlign"><ul>
<li class="fn"><b><a href="qabstractbarseries.html#labelsFormat-prop">labelsFormat</a></b> : QString</li>
<li class="fn"><b><a href="qabstractbarseries.html#labelsPosition-prop">labelsPosition</a></b> : LabelsPosition</li>
<li class="fn"><b><a href="qabstractbarseries.html#labelsVisible-prop">labelsVisible</a></b> : bool</li>
</ul>
</td></tr>
</table></div>
<ul>
<li class="fn">5 properties inherited from <a href="qabstractseries.html#properties">QAbstractSeries</a></li>
</ul>
<a name="public-functions"></a>
<h2 id="public-functions">Public Functions</h2>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> virtual </td><td class="memItemRight bottomAlign"><b><a href="qabstractbarseries.html#dtor.QAbstractBarSeries">~QAbstractBarSeries</a></b>()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qabstractbarseries.html#append">append</a></b>(QBarSet *<i>set</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qabstractbarseries.html#append-1">append</a></b>(QList&lt;QBarSet *&gt; <i>sets</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QList&lt;QBarSet *&gt; </td><td class="memItemRight bottomAlign"><b><a href="qabstractbarseries.html#barSets">barSets</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> qreal </td><td class="memItemRight bottomAlign"><b><a href="qabstractbarseries.html#barWidth">barWidth</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qabstractbarseries.html#clear">clear</a></b>()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> int </td><td class="memItemRight bottomAlign"><b><a href="qabstractbarseries.html#count">count</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qabstractbarseries.html#insert">insert</a></b>(int <i>index</i>, QBarSet *<i>set</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qabstractbarseries.html#isLabelsVisible">isLabelsVisible</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> qreal </td><td class="memItemRight bottomAlign"><b><a href="qabstractbarseries.html#labelsAngle-prop">labelsAngle</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QString </td><td class="memItemRight bottomAlign"><b><a href="qabstractbarseries.html#labelsFormat-prop">labelsFormat</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QAbstractBarSeries::LabelsPosition </td><td class="memItemRight bottomAlign"><b><a href="qabstractbarseries.html#labelsPosition-prop">labelsPosition</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qabstractbarseries.html#remove">remove</a></b>(QBarSet *<i>set</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qabstractbarseries.html#setBarWidth">setBarWidth</a></b>(qreal <i>width</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qabstractbarseries.html#labelsAngle-prop">setLabelsAngle</a></b>(qreal <i>angle</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qabstractbarseries.html#labelsFormat-prop">setLabelsFormat</a></b>(const QString &amp;<i>format</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qabstractbarseries.html#labelsPosition-prop">setLabelsPosition</a></b>(QAbstractBarSeries::LabelsPosition <i>position</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qabstractbarseries.html#setLabelsVisible">setLabelsVisible</a></b>(bool <i>visible</i> = true)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qabstractbarseries.html#take">take</a></b>(QBarSet *<i>set</i>)</td></tr>
</table></div>
<ul>
<li class="fn">15 public functions inherited from <a href="qabstractseries.html#public-functions">QAbstractSeries</a></li>
</ul>
<a name="signals"></a>
<h2 id="signals">Signals</h2>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qabstractbarseries.html#barsetsAdded">barsetsAdded</a></b>(QList&lt;QBarSet *&gt; <i>sets</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qabstractbarseries.html#barsetsRemoved">barsetsRemoved</a></b>(QList&lt;QBarSet *&gt; <i>sets</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qabstractbarseries.html#clicked">clicked</a></b>(int <i>index</i>, QBarSet *<i>barset</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qabstractbarseries.html#countChanged">countChanged</a></b>()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qabstractbarseries.html#doubleClicked">doubleClicked</a></b>(int <i>index</i>, QBarSet *<i>barset</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qabstractbarseries.html#hovered">hovered</a></b>(bool <i>status</i>, int <i>index</i>, QBarSet *<i>barset</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qabstractbarseries.html#labelsAngleChanged">labelsAngleChanged</a></b>(qreal <i>angle</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qabstractbarseries.html#labelsFormatChanged">labelsFormatChanged</a></b>(const QString &amp;<i>format</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qabstractbarseries.html#labelsPositionChanged">labelsPositionChanged</a></b>(QAbstractBarSeries::LabelsPosition <i>position</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qabstractbarseries.html#labelsVisibleChanged">labelsVisibleChanged</a></b>()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qabstractbarseries.html#pressed">pressed</a></b>(int <i>index</i>, QBarSet *<i>barset</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qabstractbarseries.html#released">released</a></b>(int <i>index</i>, QBarSet *<i>barset</i>)</td></tr>
</table></div>
<ul>
<li class="fn">4 signals inherited from <a href="qabstractseries.html#signals">QAbstractSeries</a></li>
</ul>
<a name="details"></a>
<!-- $$$QAbstractBarSeries-description -->
<div class="descr">
<h2 id="details">Detailed Description</h2>
<p>The <a href="qabstractbarseries.html">QAbstractBarSeries</a> class is an abstract parent class for all bar series classes.</p>
<p>In bar charts, bars are defined as bar sets that contain one data value for each category. The position of a bar is specified by the category and its height by the data value. Bar series that contain multiple bar sets group together bars that belong to the same category. The way the bars are displayed is determined by the subclass of this class chosen to create the bar chart.</p>
<p>If a <a href="qvalueaxis.html">QValueAxis</a> is used instead of <a href="qbarcategoryaxis.html">QBarCategoryAxis</a> for the main bar axis, the bars are grouped around the index value of the category.</p>
<p>See the <a href="qtcharts-barchart-example.html">bar chart example</a> to learn how to use the <a href="qbarseries.html">QBarSeries</a> class to create a simple bar chart.</p>
<p class="centerAlign"><img src="images/examples_barchart.png" alt="" /></p></div>
<p><b>See also </b><a href="qbarset.html">QBarSet</a>, <a href="qbarseries.html">QBarSeries</a>, <a href="qstackedbarseries.html">QStackedBarSeries</a>, <a href="qpercentbarseries.html">QPercentBarSeries</a>, <a href="qhorizontalbarseries.html">QHorizontalBarSeries</a>, <a href="qhorizontalstackedbarseries.html">QHorizontalStackedBarSeries</a>, and <a href="qhorizontalpercentbarseries.html">QHorizontalPercentBarSeries</a>.</p>
<!-- @@@QAbstractBarSeries -->
<div class="types">
<h2>Member Type Documentation</h2>
<!-- $$$LabelsPosition$$$LabelsCenter$$$LabelsInsideEnd$$$LabelsInsideBase$$$LabelsOutsideEnd -->
<h3 class="fn" id="LabelsPosition-enum"><a name="LabelsPosition-enum"></a>enum QAbstractBarSeries::<span class="name">LabelsPosition</span></h3>
<p>This enum value describes the position of the data value labels:</p>
<div class="table"><table class="valuelist"><tr valign="top" class="odd"><th class="tblConst">Constant</th><th class="tblval">Value</th><th class="tbldscr">Description</th></tr>
<tr><td class="topAlign"><code>QAbstractBarSeries::LabelsCenter</code></td><td class="topAlign tblval"><code>0</code></td><td class="topAlign">Label is located in the center of the bar.</td></tr>
<tr><td class="topAlign"><code>QAbstractBarSeries::LabelsInsideEnd</code></td><td class="topAlign tblval"><code>1</code></td><td class="topAlign">Label is located inside the bar at the top.</td></tr>
<tr><td class="topAlign"><code>QAbstractBarSeries::LabelsInsideBase</code></td><td class="topAlign tblval"><code>2</code></td><td class="topAlign">Label is located inside the bar at the bottom.</td></tr>
<tr><td class="topAlign"><code>QAbstractBarSeries::LabelsOutsideEnd</code></td><td class="topAlign tblval"><code>3</code></td><td class="topAlign">Label is located outside the bar at the top.</td></tr>
</table></div>
<!-- @@@LabelsPosition -->
</div>
<div class="prop">
<h2>Property Documentation</h2>
<!-- $$$barWidth-prop$$$barWidth$$$setBarWidthqreal -->
<h3 class="fn" id="barWidth-prop"><a name="barWidth-prop"></a><span class="name">barWidth</span> : <span class="type">qreal</span></h3>
<p>This property holds the width of the bars of the series.</p>
<p>The unit of width is the unit of the x-axis. The minimum width for bars is zero, and negative values are treated as zero. Setting the width to zero means that the width of the bar on the screen is one pixel regardless of the scale of the x-axis. Bars wider than zero are scaled using the x-axis scale.</p>
<p><b>Note: </b>When used with <a href="qbarseries.html">QBarSeries</a>, this value specifies the width of a group of bars instead of that of a single bar.</p><p><b>Access functions:</b></p>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> qreal </td><td class="memItemRight bottomAlign"><span class="name"><b><a href="qabstractbarseries.html#barWidth">barWidth</a></b></span>() const</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b><a href="qabstractbarseries.html#setBarWidth">setBarWidth</a></b></span>(qreal <i>width</i>)</td></tr>
</table></div>
<p><b>See also </b><a href="qbarseries.html">QBarSeries</a>.</p>
<!-- @@@barWidth -->
<!-- $$$count-prop$$$count$$$countChanged -->
<h3 class="fn" id="count-prop"><a name="count-prop"></a><span class="name">count</span> : const <span class="type">int</span></h3>
<p>This property holds the number of bar sets in a bar series.</p>
<p><b>Access functions:</b></p>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> int </td><td class="memItemRight bottomAlign"><span class="name"><b><a href="qabstractbarseries.html#count">count</a></b></span>() const</td></tr>
</table></div>
<p><b>Notifier signal:</b></p>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b><a href="qabstractbarseries.html#countChanged">countChanged</a></b></span>()</td></tr>
</table></div>
<!-- @@@count -->
<!-- $$$labelsAngle-prop$$$labelsAngle$$$setLabelsAngleqreal$$$labelsAngleChangedqreal -->
<h3 class="fn" id="labelsAngle-prop"><a name="labelsAngle-prop"></a><span class="name">labelsAngle</span> : <span class="type">qreal</span></h3>
<p>This property holds the angle of the value labels in degrees.</p>
<p><b>Access functions:</b></p>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> qreal </td><td class="memItemRight bottomAlign"><span class="name"><b>labelsAngle</b></span>() const</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setLabelsAngle</b></span>(qreal <i>angle</i>)</td></tr>
</table></div>
<p><b>Notifier signal:</b></p>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b><a href="qabstractbarseries.html#labelsAngleChanged">labelsAngleChanged</a></b></span>(qreal <i>angle</i>)</td></tr>
</table></div>
<!-- @@@labelsAngle -->
<!-- $$$labelsFormat-prop$$$labelsFormat$$$setLabelsFormatconstQString&$$$labelsFormatChangedconstQString& -->
<h3 class="fn" id="labelsFormat-prop"><a name="labelsFormat-prop"></a><span class="name">labelsFormat</span> : <span class="type">QString</span></h3>
<p>This property holds the format used for showing labels in a bar series.</p>
<p><a href="qabstractbarseries.html">QAbstractBarSeries</a> supports the following format tag:</p>
<div class="table"><table class="generic">
 <tr valign="top" class="odd"><td >@value</td><td >The value of the bar</td></tr>
</table></div>
<p>For example, the following usage of the format tags would produce labels that show the value followed by the unit (u):</p>
<pre class="cpp">

  series<span class="operator">-</span><span class="operator">&gt;</span>setLabelsFormat(<span class="string">&quot;@value u&quot;</span>);

</pre>
<p>By default, the labels show the value of the bar. For the percent bar series, <i>%</i> is added after the value. The labels are shown on the plot area, whereas labels on the edge of the plot area are cut. If the bars are close to each other, the labels may overlap.</p>
<p><b>Access functions:</b></p>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> QString </td><td class="memItemRight bottomAlign"><span class="name"><b>labelsFormat</b></span>() const</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setLabelsFormat</b></span>(const QString &amp;<i>format</i>)</td></tr>
</table></div>
<p><b>Notifier signal:</b></p>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b><a href="qabstractbarseries.html#labelsFormatChanged">labelsFormatChanged</a></b></span>(const QString &amp;<i>format</i>)</td></tr>
</table></div>
<p><b>See also </b><a href="qabstractbarseries.html#labelsVisible-prop">labelsVisible</a> and <a href="qabstractbarseries.html#labelsPosition-prop">labelsPosition</a>.</p>
<!-- @@@labelsFormat -->
<!-- $$$labelsPosition-prop$$$labelsPosition$$$setLabelsPositionQAbstractBarSeries::LabelsPosition$$$labelsPositionChangedQAbstractBarSeries::LabelsPosition -->
<h3 class="fn" id="labelsPosition-prop"><a name="labelsPosition-prop"></a><span class="name">labelsPosition</span> : <span class="type"><a href="qabstractbarseries.html#LabelsPosition-enum">LabelsPosition</a></span></h3>
<p>This property holds the position of value labels.</p>
<p><b>Access functions:</b></p>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> QAbstractBarSeries::LabelsPosition </td><td class="memItemRight bottomAlign"><span class="name"><b>labelsPosition</b></span>() const</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setLabelsPosition</b></span>(QAbstractBarSeries::LabelsPosition <i>position</i>)</td></tr>
</table></div>
<p><b>Notifier signal:</b></p>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b><a href="qabstractbarseries.html#labelsPositionChanged">labelsPositionChanged</a></b></span>(QAbstractBarSeries::LabelsPosition <i>position</i>)</td></tr>
</table></div>
<p><b>See also </b><a href="qabstractbarseries.html#labelsVisible-prop">labelsVisible</a> and <a href="qabstractbarseries.html#labelsFormat-prop">labelsFormat</a>.</p>
<!-- @@@labelsPosition -->
<!-- $$$labelsVisible-prop$$$isLabelsVisible$$$setLabelsVisiblebool$$$labelsVisibleChanged -->
<h3 class="fn" id="labelsVisible-prop"><a name="labelsVisible-prop"></a><span class="name">labelsVisible</span> : <span class="type">bool</span></h3>
<p>This property holds the visibility of the labels in a bar series.</p>
<p><b>Access functions:</b></p>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> bool </td><td class="memItemRight bottomAlign"><span class="name"><b><a href="qabstractbarseries.html#isLabelsVisible">isLabelsVisible</a></b></span>() const</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b><a href="qabstractbarseries.html#setLabelsVisible">setLabelsVisible</a></b></span>(bool <i>visible</i> = true)</td></tr>
</table></div>
<p><b>Notifier signal:</b></p>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b><a href="qabstractbarseries.html#labelsVisibleChanged">labelsVisibleChanged</a></b></span>()</td></tr>
</table></div>
<!-- @@@labelsVisible -->
</div>
<div class="func">
<h2>Member Function Documentation</h2>
<!-- $$$~QAbstractBarSeries[overload1]$$$~QAbstractBarSeries -->
<h3 class="fn" id="dtor.QAbstractBarSeries"><a name="dtor.QAbstractBarSeries"></a><code>[virtual] </code>QAbstractBarSeries::<span class="name">~QAbstractBarSeries</span>()</h3>
<p>Removes the abstract bar series and the bar sets owned by it.</p>
<!-- @@@~QAbstractBarSeries -->
<!-- $$$append[overload1]$$$appendQBarSet* -->
<h3 class="fn" id="append"><a name="append"></a><span class="type">bool</span> QAbstractBarSeries::<span class="name">append</span>(<span class="type"><a href="qbarset.html">QBarSet</a></span> *<i>set</i>)</h3>
<p>Adds a set of bars specified by <i>set</i> to the bar series and takes ownership of it. If the set is null or it already belongs to the series, it will not be appended. Returns <code>true</code> if appending succeeded.</p>
<!-- @@@append -->
<!-- $$$append$$$appendQList<QBarSet*> -->
<h3 class="fn" id="append-1"><a name="append-1"></a><span class="type">bool</span> QAbstractBarSeries::<span class="name">append</span>(<span class="type">QList</span>&lt;<span class="type"><a href="qbarset.html">QBarSet</a></span> *&gt; <i>sets</i>)</h3>
<p>Adds a list of bar sets specified by <i>sets</i> to a bar series and takes ownership of the sets. Returns <code>true</code> if all sets were appended successfully. If any of the sets is null or was previously appended to the series, nothing is appended and this function returns <code>false</code>. If any of the sets appears in the list more than once, nothing is appended and this function returns <code>false</code>.</p>
<!-- @@@append -->
<!-- $$$barSets[overload1]$$$barSets -->
<h3 class="fn" id="barSets"><a name="barSets"></a><span class="type">QList</span>&lt;<span class="type"><a href="qbarset.html">QBarSet</a></span> *&gt; QAbstractBarSeries::<span class="name">barSets</span>() const</h3>
<p>Returns a list of bar sets in a bar series. Keeps the ownership of the bar sets.</p>
<!-- @@@barSets -->
<!-- $$$barWidth -->
<h3 class="fn" id="barWidth"><a name="barWidth"></a><span class="type">qreal</span> QAbstractBarSeries::<span class="name">barWidth</span>() const</h3>
<p>Returns the width of the bars of the series.</p>
<p><b>Note:</b> Getter function for property <a href="qabstractbarseries.html#barWidth-prop">barWidth</a>. </p><p><b>See also </b><a href="qabstractbarseries.html#setBarWidth">setBarWidth</a>().</p>
<!-- @@@barWidth -->
<!-- $$$barsetsAdded[overload1]$$$barsetsAddedQList<QBarSet*> -->
<h3 class="fn" id="barsetsAdded"><a name="barsetsAdded"></a><code>[signal] </code><span class="type">void</span> QAbstractBarSeries::<span class="name">barsetsAdded</span>(<span class="type">QList</span>&lt;<span class="type"><a href="qbarset.html">QBarSet</a></span> *&gt; <i>sets</i>)</h3>
<p>This signal is emitted when the bar sets specified by <i>sets</i> are added to the series.</p>
<p><b>See also </b><a href="qabstractbarseries.html#append">append</a>() and <a href="qabstractbarseries.html#insert">insert</a>().</p>
<!-- @@@barsetsAdded -->
<!-- $$$barsetsRemoved[overload1]$$$barsetsRemovedQList<QBarSet*> -->
<h3 class="fn" id="barsetsRemoved"><a name="barsetsRemoved"></a><code>[signal] </code><span class="type">void</span> QAbstractBarSeries::<span class="name">barsetsRemoved</span>(<span class="type">QList</span>&lt;<span class="type"><a href="qbarset.html">QBarSet</a></span> *&gt; <i>sets</i>)</h3>
<p>This signal is emitted when the bar sets specified by <i>sets</i> are removed from the series.</p>
<p><b>See also </b><a href="qabstractbarseries.html#remove">remove</a>().</p>
<!-- @@@barsetsRemoved -->
<!-- $$$clear[overload1]$$$clear -->
<h3 class="fn" id="clear"><a name="clear"></a><span class="type">void</span> QAbstractBarSeries::<span class="name">clear</span>()</h3>
<p>Removes all bar sets from the series and permanently deletes them.</p>
<!-- @@@clear -->
<!-- $$$clicked[overload1]$$$clickedintQBarSet* -->
<h3 class="fn" id="clicked"><a name="clicked"></a><code>[signal] </code><span class="type">void</span> QAbstractBarSeries::<span class="name">clicked</span>(<span class="type">int</span> <i>index</i>, <span class="type"><a href="qbarset.html">QBarSet</a></span> *<i>barset</i>)</h3>
<p>This signal is emitted when the user clicks the bar specified by <i>index</i> in the bar set specified by <i>barset</i>.</p>
<!-- @@@clicked -->
<!-- $$$count -->
<h3 class="fn" id="count"><a name="count"></a><span class="type">int</span> QAbstractBarSeries::<span class="name">count</span>() const</h3>
<p>Returns the number of bar sets in a bar series.</p>
<p><b>Note:</b> Getter function for property <a href="qabstractbarseries.html#count-prop">count</a>. </p><!-- @@@count -->
<!-- $$$countChanged -->
<h3 class="fn" id="countChanged"><a name="countChanged"></a><code>[signal] </code><span class="type">void</span> QAbstractBarSeries::<span class="name">countChanged</span>()</h3>
<p>This signal is emitted when the number of bar sets is changed, for example by <a href="qabstractbarseries.html#append">append</a>() or <a href="qabstractbarseries.html#remove">remove</a>().</p>
<p><b>Note:</b> Notifier signal for property <a href="qabstractbarseries.html#count-prop">count</a>. </p><!-- @@@countChanged -->
<!-- $$$doubleClicked[overload1]$$$doubleClickedintQBarSet* -->
<h3 class="fn" id="doubleClicked"><a name="doubleClicked"></a><code>[signal] </code><span class="type">void</span> QAbstractBarSeries::<span class="name">doubleClicked</span>(<span class="type">int</span> <i>index</i>, <span class="type"><a href="qbarset.html">QBarSet</a></span> *<i>barset</i>)</h3>
<p>This signal is emitted when the user double-clicks the bar specified by <i>index</i> in the bar set specified by <i>barset</i>.</p>
<!-- @@@doubleClicked -->
<!-- $$$hovered[overload1]$$$hoveredboolintQBarSet* -->
<h3 class="fn" id="hovered"><a name="hovered"></a><code>[signal] </code><span class="type">void</span> QAbstractBarSeries::<span class="name">hovered</span>(<span class="type">bool</span> <i>status</i>, <span class="type">int</span> <i>index</i>, <span class="type"><a href="qbarset.html">QBarSet</a></span> *<i>barset</i>)</h3>
<p>This signal is emitted when a mouse is hovered over the bar specified by <i>index</i> in the bar set specified by <i>barset</i>. When the mouse moves over the bar, <i>status</i> turns <code>true</code>, and when the mouse moves away again, it turns <code>false</code>.</p>
<!-- @@@hovered -->
<!-- $$$insert[overload1]$$$insertintQBarSet* -->
<h3 class="fn" id="insert"><a name="insert"></a><span class="type">bool</span> QAbstractBarSeries::<span class="name">insert</span>(<span class="type">int</span> <i>index</i>, <span class="type"><a href="qbarset.html">QBarSet</a></span> *<i>set</i>)</h3>
<p>Inserts a bar set specified by <i>set</i> to a series at the position specified by <i>index</i> and takes ownership of the set. If the set is null or already belongs to the series, it will not be appended. Returns <code>true</code> if inserting succeeds.</p>
<!-- @@@insert -->
<!-- $$$isLabelsVisible -->
<h3 class="fn" id="isLabelsVisible"><a name="isLabelsVisible"></a><span class="type">bool</span> QAbstractBarSeries::<span class="name">isLabelsVisible</span>() const</h3>
<p>Returns the visibility of labels.</p>
<p><b>Note:</b> Getter function for property <a href="qabstractbarseries.html#labelsVisible-prop">labelsVisible</a>. </p><!-- @@@isLabelsVisible -->
<!-- $$$labelsAngleChanged -->
<h3 class="fn" id="labelsAngleChanged"><a name="labelsAngleChanged"></a><code>[signal] </code><span class="type">void</span> QAbstractBarSeries::<span class="name">labelsAngleChanged</span>(<span class="type">qreal</span> <i>angle</i>)</h3>
<p>This signal is emitted when the <i>angle</i> of the value labels changes.</p>
<p><b>Note:</b> Notifier signal for property <a href="qabstractbarseries.html#labelsAngle-prop">labelsAngle</a>. </p><!-- @@@labelsAngleChanged -->
<!-- $$$labelsFormatChanged -->
<h3 class="fn" id="labelsFormatChanged"><a name="labelsFormatChanged"></a><code>[signal] </code><span class="type">void</span> QAbstractBarSeries::<span class="name">labelsFormatChanged</span>(const <span class="type">QString</span> &amp;<i>format</i>)</h3>
<p>This signal is emitted when the <i>format</i> of data value labels changes.</p>
<p><b>Note:</b> Notifier signal for property <a href="qabstractbarseries.html#labelsFormat-prop">labelsFormat</a>. </p><!-- @@@labelsFormatChanged -->
<!-- $$$labelsPositionChanged -->
<h3 class="fn" id="labelsPositionChanged"><a name="labelsPositionChanged"></a><code>[signal] </code><span class="type">void</span> QAbstractBarSeries::<span class="name">labelsPositionChanged</span>(<span class="type"><a href="qabstractbarseries.html#LabelsPosition-enum">QAbstractBarSeries::LabelsPosition</a></span> <i>position</i>)</h3>
<p>This signal is emitted when the <i>position</i> of value labels changes.</p>
<p><b>Note:</b> Notifier signal for property <a href="qabstractbarseries.html#labelsPosition-prop">labelsPosition</a>. </p><!-- @@@labelsPositionChanged -->
<!-- $$$labelsVisibleChanged -->
<h3 class="fn" id="labelsVisibleChanged"><a name="labelsVisibleChanged"></a><code>[signal] </code><span class="type">void</span> QAbstractBarSeries::<span class="name">labelsVisibleChanged</span>()</h3>
<p>This signal is emitted when the labels' visibility changes.</p>
<p><b>Note:</b> Notifier signal for property <a href="qabstractbarseries.html#labelsVisible-prop">labelsVisible</a>. </p><p><b>See also </b><a href="qabstractbarseries.html#isLabelsVisible">isLabelsVisible</a>() and <a href="qabstractbarseries.html#setLabelsVisible">setLabelsVisible</a>().</p>
<!-- @@@labelsVisibleChanged -->
<!-- $$$pressed[overload1]$$$pressedintQBarSet* -->
<h3 class="fn" id="pressed"><a name="pressed"></a><code>[signal] </code><span class="type">void</span> QAbstractBarSeries::<span class="name">pressed</span>(<span class="type">int</span> <i>index</i>, <span class="type"><a href="qbarset.html">QBarSet</a></span> *<i>barset</i>)</h3>
<p>This signal is emitted when the user clicks the bar specified by <i>index</i> in the bar set specified by <i>barset</i> and holds down the mouse button.</p>
<!-- @@@pressed -->
<!-- $$$released[overload1]$$$releasedintQBarSet* -->
<h3 class="fn" id="released"><a name="released"></a><code>[signal] </code><span class="type">void</span> QAbstractBarSeries::<span class="name">released</span>(<span class="type">int</span> <i>index</i>, <span class="type"><a href="qbarset.html">QBarSet</a></span> *<i>barset</i>)</h3>
<p>This signal is emitted when the user releases the mouse press on the bar specified by <i>index</i> in the bar set specified by <i>barset</i>.</p>
<!-- @@@released -->
<!-- $$$remove[overload1]$$$removeQBarSet* -->
<h3 class="fn" id="remove"><a name="remove"></a><span class="type">bool</span> QAbstractBarSeries::<span class="name">remove</span>(<span class="type"><a href="qbarset.html">QBarSet</a></span> *<i>set</i>)</h3>
<p>Removes the bar set specified by <i>set</i> from the series and permanently deletes it if the removal succeeds. Returns <code>true</code> if the set was removed.</p>
<!-- @@@remove -->
<!-- $$$setBarWidth -->
<h3 class="fn" id="setBarWidth"><a name="setBarWidth"></a><span class="type">void</span> QAbstractBarSeries::<span class="name">setBarWidth</span>(<span class="type">qreal</span> <i>width</i>)</h3>
<p>Sets the width of the bars of the series to <i>width</i>.</p>
<p><b>Note:</b> Setter function for property <a href="qabstractbarseries.html#barWidth-prop">barWidth</a>. </p><p><b>See also </b><a href="qabstractbarseries.html#barWidth">barWidth</a>().</p>
<!-- @@@setBarWidth -->
<!-- $$$setLabelsVisible -->
<h3 class="fn" id="setLabelsVisible"><a name="setLabelsVisible"></a><span class="type">void</span> QAbstractBarSeries::<span class="name">setLabelsVisible</span>(<span class="type">bool</span> <i>visible</i> = true)</h3>
<p>Sets the visibility of labels in a bar series to <i>visible</i>.</p>
<p><b>Note:</b> Setter function for property <a href="qabstractbarseries.html#labelsVisible-prop">labelsVisible</a>. </p><p><b>See also </b><a href="qabstractbarseries.html#isLabelsVisible">isLabelsVisible</a>().</p>
<!-- @@@setLabelsVisible -->
<!-- $$$take[overload1]$$$takeQBarSet* -->
<h3 class="fn" id="take"><a name="take"></a><span class="type">bool</span> QAbstractBarSeries::<span class="name">take</span>(<span class="type"><a href="qbarset.html">QBarSet</a></span> *<i>set</i>)</h3>
<p>Takes a single <i>set</i> from the series. Does not delete the bar set object.</p>
<p><b>Note: </b>The series remains the barset's parent object. You must set the parent object to take full ownership.</p><p>Returns <code>true</code> if the take operation succeeds.</p>
<!-- @@@take -->
</div>
        </div>
       </div>
   </div>
   </div>
</div>
<div class="footer">
   <p>
   <acronym title="Copyright">&copy;</acronym> 2017 The Qt Company Ltd.
   Documentation contributions included herein are the copyrights of
   their respective owners.<br>    The documentation provided herein is licensed under the terms of the    <a href="http://www.gnu.org/licenses/fdl.html">GNU Free Documentation    License version 1.3</a> as published by the Free Software Foundation.<br>    Qt and respective logos are trademarks of The Qt Company Ltd.     in Finland and/or other countries worldwide. All other trademarks are property
   of their respective owners. </p>
</div>
</body>
</html>