This file is indexed.

/usr/share/qt5/doc/qtcharts/qml-qtcharts-abstractbarseries.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
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
<?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>AbstractBarSeries QML Type | 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="qtcharts-qmlmodule.html">QML Types</a></td><td >AbstractBarSeries QML Type</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="#properties">Properties</a></li>
<li class="level1"><a href="#signals">Signals</a></li>
<li class="level1"><a href="#methods">Methods</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">AbstractBarSeries QML Type</h1>
<span class="subtitle"></span>
<!-- $$$AbstractBarSeries-brief -->
<p>An abstract parent type for all bar series types. <a href="#details">More...</a></p>
<!-- @@@AbstractBarSeries -->
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> Import Statement:</td><td class="memItemRight bottomAlign"> import QtCharts 2.2</td></tr><tr><td class="memItemLeft rightAlign topAlign"> Instantiates:</td><td class="memItemRight bottomAlign"> <a href="qml-qtcharts-abstractbarseries.html"><a href="qabstractbarseries.html">QAbstractBarSeries</a></td></tr><tr><td class="memItemLeft rightAlign topAlign"> Inherits:</td><td class="memItemRight bottomAlign"> <p><a href="qml-qtcharts-abstractseries.html">AbstractSeries</a></p>
</td></tr><tr><td class="memItemLeft rightAlign topAlign"> Inherited By:</td><td class="memItemRight bottomAlign"> <p><a href="qml-qtcharts-barseries.html">BarSeries</a>, <a href="qml-qtcharts-horizontalbarseries.html">HorizontalBarSeries</a>, <a href="qml-qtcharts-horizontalpercentbarseries.html">HorizontalPercentBarSeries</a>, <a href="qml-qtcharts-horizontalstackedbarseries.html">HorizontalStackedBarSeries</a>, <a href="qml-qtcharts-percentbarseries.html">PercentBarSeries</a>, and <a href="qml-qtcharts-stackedbarseries.html">StackedBarSeries</a></p>
</td></tr></table></div><ul>
<li><a href="qml-qtcharts-abstractbarseries-members.html">List of all members, including inherited members</a></li>
</ul>
<a name="properties"></a>
<h2 id="properties">Properties</h2>
<ul>
<li class="fn"><b><b><a href="qml-qtcharts-abstractbarseries.html#axisX-prop">axisX</a></b></b> : AbstractAxis</li>
<li class="fn"><b><b><a href="qml-qtcharts-abstractbarseries.html#axisXTop-prop">axisXTop</a></b></b> : AbstractAxis</li>
<li class="fn"><b><b><a href="qml-qtcharts-abstractbarseries.html#axisY-prop">axisY</a></b></b> : AbstractAxis</li>
<li class="fn"><b><b><a href="qml-qtcharts-abstractbarseries.html#axisYRight-prop">axisYRight</a></b></b> : AbstractAxis</li>
<li class="fn"><b><b><a href="qml-qtcharts-abstractbarseries.html#barWidth-prop">barWidth</a></b></b> : real</li>
<li class="fn"><b><b><a href="qml-qtcharts-abstractbarseries.html#count-prop">count</a></b></b> : int</li>
<li class="fn"><b><b><a href="qml-qtcharts-abstractbarseries.html#labelsAngle-prop">labelsAngle</a></b></b> : real</li>
<li class="fn"><b><b><a href="qml-qtcharts-abstractbarseries.html#labelsFormat-prop">labelsFormat</a></b></b> : string</li>
<li class="fn"><b><b><a href="qml-qtcharts-abstractbarseries.html#labelsPosition-prop">labelsPosition</a></b></b> : enumeration</li>
<li class="fn"><b><b><a href="qml-qtcharts-abstractbarseries.html#labelsVisible-prop">labelsVisible</a></b></b> : bool</li>
</ul>
<a name="signals"></a>
<h2 id="signals">Signals</h2>
<ul>
<li class="fn"><b><b><a href="qml-qtcharts-abstractbarseries.html#barsetsAdded-signal">barsetsAdded</a></b></b>()</li>
<li class="fn"><b><b><a href="qml-qtcharts-abstractbarseries.html#barsetsRemoved-signal">barsetsRemoved</a></b></b>()</li>
<li class="fn"><b><b><a href="qml-qtcharts-abstractbarseries.html#clicked-signal">clicked</a></b></b>(int <i>index</i>, BarSet <i>barset</i>)</li>
<li class="fn"><b><b><a href="qml-qtcharts-abstractbarseries.html#doubleClicked-signal">doubleClicked</a></b></b>(int <i>index</i>, BarSet <i>barset</i>)</li>
<li class="fn"><b><b><a href="qml-qtcharts-abstractbarseries.html#hovered-signal">hovered</a></b></b>(bool <i>status</i>, int <i>index</i>, BarSet <i>barset</i>)</li>
<li class="fn"><b><b><a href="qml-qtcharts-abstractbarseries.html#pressed-signal">pressed</a></b></b>(int <i>index</i>, BarSet <i>barset</i>)</li>
<li class="fn"><b><b><a href="qml-qtcharts-abstractbarseries.html#released-signal">released</a></b></b>(int <i>index</i>, BarSet <i>barset</i>)</li>
</ul>
<a name="methods"></a>
<h2 id="methods">Methods</h2>
<ul>
<li class="fn">BarSet <b><b><a href="qml-qtcharts-abstractbarseries.html#append-method">append</a></b></b>(string <i>label</i>, VariantList <i>values</i>)</li>
<li class="fn">BarSet <b><b><a href="qml-qtcharts-abstractbarseries.html#at-method">at</a></b></b>(int <i>index</i>)</li>
<li class="fn"><b><b><a href="qml-qtcharts-abstractbarseries.html#clear-method">clear</a></b></b>()</li>
<li class="fn">BarSet <b><b><a href="qml-qtcharts-abstractbarseries.html#insert-method">insert</a></b></b>(int <i>index</i>, string <i>label</i>, VariantList <i>values</i>)</li>
<li class="fn">bool <b><b><a href="qml-qtcharts-abstractbarseries.html#remove-method">remove</a></b></b>(BarSet <i>barset</i>)</li>
</ul>
<!-- $$$AbstractBarSeries-description -->
<a name="details"></a>
<h2 id="details">Detailed Description</h2>
<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 type chosen to create the bar chart: <a href="qml-qtcharts-barseries.html">BarSeries</a>, <a href="qml-qtcharts-stackedbarseries.html">StackedBarSeries</a>, <a href="qml-qtcharts-percentbarseries.html">PercentBarSeries</a>, <a href="qml-qtcharts-horizontalbarseries.html">HorizontalBarSeries</a>, <a href="qml-qtcharts-horizontalstackedbarseries.html">HorizontalStackedBarSeries</a>, or <a href="qml-qtcharts-horizontalpercentbarseries.html">HorizontalPercentBarSeries</a>.</p>
<p>If a <a href="qml-qtcharts-valueaxis.html">ValueAxis</a> type is used instead of a <a href="qml-qtcharts-barcategoryaxis.html">BarCategoryAxis</a> type for the main bar axis, the bars are grouped around the index value of the category.</p>
<p>The following QML code snippet shows how to use the <a href="qml-qtcharts-barseries.html">BarSeries</a> and <a href="qml-qtcharts-barcategoryaxis.html">BarCategoryAxis</a> type to create a simple bar chart:</p>
<pre class="qml">

  <span class="type"><a href="qml-qtcharts-chartview.html">ChartView</a></span> {
      <span class="name">title</span>: <span class="string">&quot;Bar series&quot;</span>
      <span class="name">anchors</span>.fill: <span class="name">parent</span>
      <span class="name">legend</span>.alignment: <span class="name">Qt</span>.<span class="name">AlignBottom</span>
      <span class="name">antialiasing</span>: <span class="number">true</span>

      <span class="type"><a href="qml-qtcharts-barseries.html">BarSeries</a></span> {
          <span class="name">id</span>: <span class="name">mySeries</span>
          <span class="name">axisX</span>: <span class="name">BarCategoryAxis</span> { <span class="name">categories</span>: [<span class="string">&quot;2007&quot;</span>, <span class="string">&quot;2008&quot;</span>, <span class="string">&quot;2009&quot;</span>, <span class="string">&quot;2010&quot;</span>, <span class="string">&quot;2011&quot;</span>, <span class="string">&quot;2012&quot;</span> ] }
          <span class="type"><a href="qml-qtcharts-barset.html">BarSet</a></span> { <span class="name">label</span>: <span class="string">&quot;Bob&quot;</span>; <span class="name">values</span>: [<span class="number">2</span>, <span class="number">2</span>, <span class="number">3</span>, <span class="number">4</span>, <span class="number">5</span>, <span class="number">6</span>] }
          <span class="type"><a href="qml-qtcharts-barset.html">BarSet</a></span> { <span class="name">label</span>: <span class="string">&quot;Susan&quot;</span>; <span class="name">values</span>: [<span class="number">5</span>, <span class="number">1</span>, <span class="number">2</span>, <span class="number">4</span>, <span class="number">1</span>, <span class="number">7</span>] }
          <span class="type"><a href="qml-qtcharts-barset.html">BarSet</a></span> { <span class="name">label</span>: <span class="string">&quot;James&quot;</span>; <span class="name">values</span>: [<span class="number">3</span>, <span class="number">5</span>, <span class="number">8</span>, <span class="number">13</span>, <span class="number">5</span>, <span class="number">8</span>] }
      }
  }

</pre>
<div style="float: left; margin-right: 2em"><p class="centerAlign"><img src="images/examples_qmlchart6.png" alt="" /></p></div><br style="clear: both" /><!-- @@@AbstractBarSeries -->
<h2>Property Documentation</h2>
<!-- $$$axisX -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="axisX-prop">
<td class="tblQmlPropNode"><p>
<a name="axisX-prop"></a><span class="name">axisX</span> : <span class="type"><a href="qml-qtcharts-abstractaxis.html">AbstractAxis</a></span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>The x-axis used for the series. If you leave both axisX and <a href="qml-qtcharts-abstractbarseries.html#axisXTop-prop">axisXTop</a> undefined, a <a href="qml-qtcharts-barcategoryaxis.html">BarCategoryAxis</a> is created for the series.</p>
<p><b>See also </b><a href="qml-qtcharts-abstractbarseries.html#axisXTop-prop">axisXTop</a>.</p>
</div></div><!-- @@@axisX -->
<br/>
<!-- $$$axisXTop -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="axisXTop-prop">
<td class="tblQmlPropNode"><p>
<a name="axisXTop-prop"></a><span class="name">axisXTop</span> : <span class="type"><a href="qml-qtcharts-abstractaxis.html">AbstractAxis</a></span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>The x-axis used for the series, drawn on top of the chart view.</p>
<p><b>Note: </b>You can only provide either <a href="qml-qtcharts-abstractbarseries.html#axisX-prop">axisX</a> or axisXTop, but not both.</p><p><b>See also </b><a href="qml-qtcharts-abstractbarseries.html#axisX-prop">axisX</a>.</p>
</div></div><!-- @@@axisXTop -->
<br/>
<!-- $$$axisY -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="axisY-prop">
<td class="tblQmlPropNode"><p>
<a name="axisY-prop"></a><span class="name">axisY</span> : <span class="type"><a href="qml-qtcharts-abstractaxis.html">AbstractAxis</a></span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>The y-axis used for the series. If you leave both axisY and <a href="qml-qtcharts-abstractbarseries.html#axisYRight-prop">axisYRight</a> undefined, a <a href="qml-qtcharts-valueaxis.html">ValueAxis</a> is created for the series.</p>
<p><b>See also </b><a href="qml-qtcharts-abstractbarseries.html#axisYRight-prop">axisYRight</a>.</p>
</div></div><!-- @@@axisY -->
<br/>
<!-- $$$axisYRight -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="axisYRight-prop">
<td class="tblQmlPropNode"><p>
<a name="axisYRight-prop"></a><span class="name">axisYRight</span> : <span class="type"><a href="qml-qtcharts-abstractaxis.html">AbstractAxis</a></span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>The y-axis used for the series, drawn to the right of the chart view.</p>
<p><b>Note: </b>You can only provide either <a href="qml-qtcharts-abstractbarseries.html#axisY-prop">axisY</a> or axisYRight, but not both.</p><p><b>See also </b><a href="qml-qtcharts-abstractbarseries.html#axisY-prop">axisY</a>.</p>
</div></div><!-- @@@axisYRight -->
<br/>
<!-- $$$barWidth -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="barWidth-prop">
<td class="tblQmlPropNode"><p>
<a name="barWidth-prop"></a><span class="name">barWidth</span> : <span class="type">real</span></p></td></tr>
</table></div>
</div><div class="qmldoc"><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 the <a href="qml-qtcharts-barseries.html">BarSeries</a> type, this value specifies the width of a group of bars instead of that of a single bar.</p></div></div><!-- @@@barWidth -->
<br/>
<!-- $$$count -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="count-prop">
<td class="tblQmlPropNode"><p>
<a name="count-prop"></a><span class="name">count</span> : <span class="type">int</span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>The number of bar sets in a bar series.</p>
</div></div><!-- @@@count -->
<br/>
<!-- $$$labelsAngle -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="labelsAngle-prop">
<td class="tblQmlPropNode"><p>
<a name="labelsAngle-prop"></a><span class="name">labelsAngle</span> : <span class="type">real</span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>The angle of the value labels in degrees.</p>
</div></div><!-- @@@labelsAngle -->
<br/>
<!-- $$$labelsFormat -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="labelsFormat-prop">
<td class="tblQmlPropNode"><p>
<a name="labelsFormat-prop"></a><span class="name">labelsFormat</span> : <span class="type">string</span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>The format used for showing labels in a bar series.</p>
<p><b>See also </b><a href="qabstractbarseries.html#labelsFormat-prop">QAbstractBarSeries::labelsFormat</a>, <a href="qml-qtcharts-abstractbarseries.html#labelsVisible-prop">labelsVisible</a>, and <a href="qml-qtcharts-abstractbarseries.html#labelsPosition-prop">labelsPosition</a>.</p>
</div></div><!-- @@@labelsFormat -->
<br/>
<!-- $$$labelsPosition -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="labelsPosition-prop">
<td class="tblQmlPropNode"><p>
<a name="labelsPosition-prop"></a><span class="name">labelsPosition</span> : <span class="type">enumeration</span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>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="tbldscr">Description</th></tr>
<tr><td class="topAlign"><code>AbstractBarSeries.LabelsCenter</code></td><td class="topAlign">Label is located in the center of the bar.</td></tr>
<tr><td class="topAlign"><code>AbstractBarSeries.LabelsInsideEnd</code></td><td class="topAlign">Label is located inside the bar at the top.</td></tr>
<tr><td class="topAlign"><code>AbstractBarSeries.LabelsInsideBase</code></td><td class="topAlign">Label is located inside the bar at the bottom.</td></tr>
<tr><td class="topAlign"><code>AbstractBarSeries.LabelsOutsideEnd</code></td><td class="topAlign">Label is located outside the bar at the top.</td></tr>
</table></div>
<p><b>See also </b><a href="qml-qtcharts-abstractbarseries.html#labelsVisible-prop">labelsVisible</a> and <a href="qml-qtcharts-abstractbarseries.html#labelsFormat-prop">labelsFormat</a>.</p>
</div></div><!-- @@@labelsPosition -->
<br/>
<!-- $$$labelsVisible -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="labelsVisible-prop">
<td class="tblQmlPropNode"><p>
<a name="labelsVisible-prop"></a><span class="name">labelsVisible</span> : <span class="type">bool</span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>The visibility of the labels in a bar series.</p>
</div></div><!-- @@@labelsVisible -->
<br/>
<h2>Signal Documentation</h2>
<!-- $$$barsetsAdded -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="barsetsAdded-signal">
<td class="tblQmlFuncNode"><p>
<a name="barsetsAdded-signal"></a><span class="name">barsetsAdded</span>()</p></td></tr>
</table></div>
</div><div class="qmldoc"><p>This signal is emitted when bar sets are added to the series.</p>
<p>The corresponding signal handler is <code>onBarsetsAdded</code>.</p>
</div></div><!-- @@@barsetsAdded -->
<br/>
<!-- $$$barsetsRemoved -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="barsetsRemoved-signal">
<td class="tblQmlFuncNode"><p>
<a name="barsetsRemoved-signal"></a><span class="name">barsetsRemoved</span>()</p></td></tr>
</table></div>
</div><div class="qmldoc"><p>This signal is emitted when bar sets are removed from the series.</p>
<p>The corresponding signal handler is <code>onBarsetsRemoved</code>.</p>
</div></div><!-- @@@barsetsRemoved -->
<br/>
<!-- $$$clicked -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="clicked-signal">
<td class="tblQmlFuncNode"><p>
<a name="clicked-signal"></a><span class="name">clicked</span>(<span class="type">int</span> <i>index</i>, <span class="type"><a href="qml-qtcharts-barset.html">BarSet</a></span> <i>barset</i>)</p></td></tr>
</table></div>
</div><div class="qmldoc"><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>
<p>The corresponding signal handler is <code>onClicked</code>.</p>
</div></div><!-- @@@clicked -->
<br/>
<!-- $$$doubleClicked -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="doubleClicked-signal">
<td class="tblQmlFuncNode"><p>
<a name="doubleClicked-signal"></a><span class="name">doubleClicked</span>(<span class="type">int</span> <i>index</i>, <span class="type"><a href="qml-qtcharts-barset.html">BarSet</a></span> <i>barset</i>)</p></td></tr>
</table></div>
</div><div class="qmldoc"><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>
<p>The corresponding signal handler is <code>onDoubleClicked</code>.</p>
</div></div><!-- @@@doubleClicked -->
<br/>
<!-- $$$hovered -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="hovered-signal">
<td class="tblQmlFuncNode"><p>
<a name="hovered-signal"></a><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="qml-qtcharts-barset.html">BarSet</a></span> <i>barset</i>)</p></td></tr>
</table></div>
</div><div class="qmldoc"><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>
<p>The corresponding signal handler is <code>onHovered</code>.</p>
</div></div><!-- @@@hovered -->
<br/>
<!-- $$$pressed -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="pressed-signal">
<td class="tblQmlFuncNode"><p>
<a name="pressed-signal"></a><span class="name">pressed</span>(<span class="type">int</span> <i>index</i>, <span class="type"><a href="qml-qtcharts-barset.html">BarSet</a></span> <i>barset</i>)</p></td></tr>
</table></div>
</div><div class="qmldoc"><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>
<p>The corresponding signal handler is <code>onPressed</code>.</p>
</div></div><!-- @@@pressed -->
<br/>
<!-- $$$released -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="released-signal">
<td class="tblQmlFuncNode"><p>
<a name="released-signal"></a><span class="name">released</span>(<span class="type">int</span> <i>index</i>, <span class="type"><a href="qml-qtcharts-barset.html">BarSet</a></span> <i>barset</i>)</p></td></tr>
</table></div>
</div><div class="qmldoc"><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>
<p>The corresponding signal handler is <code>onReleased</code>.</p>
</div></div><!-- @@@released -->
<br/>
<h2>Method Documentation</h2>
<!-- $$$append -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="append-method">
<td class="tblQmlFuncNode"><p>
<a name="append-method"></a><span class="type"><a href="qml-qtcharts-barset.html">BarSet</a></span> <span class="name">append</span>(<span class="type">string</span> <i>label</i>, <span class="type">VariantList</span> <i>values</i>)</p></td></tr>
</table></div>
</div><div class="qmldoc"><p>Adds a new bar set with <i>label</i> and <i>values</i> to the index. <i>values</i> is a list of real values.</p>
<p>For example:</p>
<pre class="cpp">

  myBarSeries<span class="operator">.</span>append(<span class="string">&quot;set 1&quot;</span><span class="operator">,</span> <span class="operator">[</span><span class="number">0</span><span class="operator">,</span> <span class="number">0.2</span><span class="operator">,</span> <span class="number">0.2</span><span class="operator">,</span> <span class="number">0.5</span><span class="operator">,</span> <span class="number">0.4</span><span class="operator">,</span> <span class="number">1.5</span><span class="operator">,</span> <span class="number">0.9</span><span class="operator">]</span>);

</pre>
</div></div><!-- @@@append -->
<br/>
<!-- $$$at -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="at-method">
<td class="tblQmlFuncNode"><p>
<a name="at-method"></a><span class="type"><a href="qml-qtcharts-barset.html">BarSet</a></span> <span class="name">at</span>(<span class="type">int</span> <i>index</i>)</p></td></tr>
</table></div>
</div><div class="qmldoc"><p>Returns the bar set at <i>index</i>. Returns null if the index is not valid.</p>
</div></div><!-- @@@at -->
<br/>
<!-- $$$clear -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="clear-method">
<td class="tblQmlFuncNode"><p>
<a name="clear-method"></a><span class="name">clear</span>()</p></td></tr>
</table></div>
</div><div class="qmldoc"><p>Removes all bar sets from the series.</p>
</div></div><!-- @@@clear -->
<br/>
<!-- $$$insert -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="insert-method">
<td class="tblQmlFuncNode"><p>
<a name="insert-method"></a><span class="type"><a href="qml-qtcharts-barset.html">BarSet</a></span> <span class="name">insert</span>(<span class="type">int</span> <i>index</i>, <span class="type">string</span> <i>label</i>, <span class="type">VariantList</span> <i>values</i>)</p></td></tr>
</table></div>
</div><div class="qmldoc"><p>Adds a new bar set with <i>label</i> and <i>values</i> to <i>index</i>. <i>values</i> can be a list of real values or a list of <a href="qml-qtcharts-xypoint.html">XYPoint</a> types.</p>
<p>If the index value is equal to or less than zero, the new bar set is prepended to the bar series. If the index value is equal to or greater than the number of bar sets in the bar series, the new bar set is appended to the bar series.</p>
<p><b>See also </b><a href="qml-qtcharts-abstractbarseries.html#append-method">append()</a>.</p>
</div></div><!-- @@@insert -->
<br/>
<!-- $$$remove -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="remove-method">
<td class="tblQmlFuncNode"><p>
<a name="remove-method"></a><span class="type">bool</span> <span class="name">remove</span>(<span class="type"><a href="qml-qtcharts-barset.html">BarSet</a></span> <i>barset</i>)</p></td></tr>
</table></div>
</div><div class="qmldoc"><p>Removes the bar set specified by <i>barset</i> from the series. Returns <code>true</code> if successful, <code>false</code> otherwise.</p>
</div></div><!-- @@@remove -->
<br/>
        </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>