/usr/share/qt5/doc/qtcharts/qareaseries.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 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 | <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- qareaseries.cpp -->
<title>QAreaSeries 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 >QAreaSeries</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="#public-functions">Public Functions</a></li>
<li class="level1"><a href="#reimplemented-public-functions">Reimplemented 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">QAreaSeries Class</h1>
<!-- $$$QAreaSeries-brief -->
<p>The <a href="qareaseries.html">QAreaSeries</a> class presents data in area charts. <a href="#details">More...</a></p>
<!-- @@@QAreaSeries -->
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> Header:</td><td class="memItemRight bottomAlign"> <span class="preprocessor">#include <QAreaSeries></span>
</td></tr><tr><td class="memItemLeft rightAlign topAlign"> Instantiated By:</td><td class="memItemRight bottomAlign"> <a href="qml-qtcharts-areaseries.html">AreaSeries</a></td></tr><tr><td class="memItemLeft rightAlign topAlign"> Inherits:</td><td class="memItemRight bottomAlign"> <a href="qabstractseries.html">QAbstractSeries</a></td></tr></table></div><ul>
<li><a href="qareaseries-members.html">List of all members, including inherited members</a></li>
</ul>
<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="qareaseries.html#borderColor-prop">borderColor</a></b> : QColor</li>
<li class="fn"><b><a href="qareaseries.html#color-prop">color</a></b> : QColor</li>
<li class="fn"><b><a href="qareaseries.html#lowerSeries-prop">lowerSeries</a></b> : QLineSeries * const</li>
<li class="fn"><b><a href="qareaseries.html#pointLabelsClipping-prop">pointLabelsClipping</a></b> : bool</li>
<li class="fn"><b><a href="qareaseries.html#pointLabelsColor-prop">pointLabelsColor</a></b> : QColor</li>
</ul></td><td class="topAlign"><ul>
<li class="fn"><b><a href="qareaseries.html#pointLabelsFont-prop">pointLabelsFont</a></b> : QFont</li>
<li class="fn"><b><a href="qareaseries.html#pointLabelsFormat-prop">pointLabelsFormat</a></b> : QString</li>
<li class="fn"><b><a href="qareaseries.html#pointLabelsVisible-prop">pointLabelsVisible</a></b> : bool</li>
<li class="fn"><b><a href="qareaseries.html#upperSeries-prop">upperSeries</a></b> : QLineSeries * const</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"> </td><td class="memItemRight bottomAlign"><b><a href="qareaseries.html#QAreaSeries">QAreaSeries</a></b>(QObject *<i>parent</i> = Q_NULLPTR)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qareaseries.html#QAreaSeries-1">QAreaSeries</a></b>(QLineSeries *<i>upperSeries</i>, QLineSeries *<i>lowerSeries</i> = Q_NULLPTR)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qareaseries.html#dtor.QAreaSeries">~QAreaSeries</a></b>()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QColor </td><td class="memItemRight bottomAlign"><b><a href="qareaseries.html#borderColor-prop">borderColor</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QBrush </td><td class="memItemRight bottomAlign"><b><a href="qareaseries.html#brush">brush</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QColor </td><td class="memItemRight bottomAlign"><b><a href="qareaseries.html#color-prop">color</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QLineSeries *</td><td class="memItemRight bottomAlign"><b><a href="qareaseries.html#lowerSeries-prop">lowerSeries</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QPen </td><td class="memItemRight bottomAlign"><b><a href="qareaseries.html#pen">pen</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qareaseries.html#pointLabelsClipping-prop">pointLabelsClipping</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QColor </td><td class="memItemRight bottomAlign"><b><a href="qareaseries.html#pointLabelsColor-prop">pointLabelsColor</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QFont </td><td class="memItemRight bottomAlign"><b><a href="qareaseries.html#pointLabelsFont-prop">pointLabelsFont</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QString </td><td class="memItemRight bottomAlign"><b><a href="qareaseries.html#pointLabelsFormat-prop">pointLabelsFormat</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qareaseries.html#pointLabelsVisible-prop">pointLabelsVisible</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qareaseries.html#pointsVisible">pointsVisible</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qareaseries.html#borderColor-prop">setBorderColor</a></b>(const QColor &<i>color</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qareaseries.html#setBrush">setBrush</a></b>(const QBrush &<i>brush</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qareaseries.html#color-prop">setColor</a></b>(const QColor &<i>color</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qareaseries.html#setLowerSeries">setLowerSeries</a></b>(QLineSeries *<i>series</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qareaseries.html#setPen">setPen</a></b>(const QPen &<i>pen</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qareaseries.html#pointLabelsClipping-prop">setPointLabelsClipping</a></b>(bool <i>enabled</i> = true)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qareaseries.html#pointLabelsColor-prop">setPointLabelsColor</a></b>(const QColor &<i>color</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qareaseries.html#pointLabelsFont-prop">setPointLabelsFont</a></b>(const QFont &<i>font</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qareaseries.html#pointLabelsFormat-prop">setPointLabelsFormat</a></b>(const QString &<i>format</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qareaseries.html#pointLabelsVisible-prop">setPointLabelsVisible</a></b>(bool <i>visible</i> = true)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qareaseries.html#setPointsVisible">setPointsVisible</a></b>(bool <i>visible</i> = true)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qareaseries.html#setUpperSeries">setUpperSeries</a></b>(QLineSeries *<i>series</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QLineSeries *</td><td class="memItemRight bottomAlign"><b><a href="qareaseries.html#upperSeries-prop">upperSeries</a></b>() const</td></tr>
</table></div>
<a name="reimplemented-public-functions"></a>
<h2 id="reimplemented-public-functions">Reimplemented Public Functions</h2>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> virtual QAbstractSeries::SeriesType </td><td class="memItemRight bottomAlign"><b><a href="qareaseries.html#type">type</a></b>() const</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="qareaseries.html#borderColorChanged">borderColorChanged</a></b>(QColor <i>color</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qareaseries.html#clicked">clicked</a></b>(const QPointF &<i>point</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qareaseries.html#colorChanged">colorChanged</a></b>(QColor <i>color</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qareaseries.html#doubleClicked">doubleClicked</a></b>(const QPointF &<i>point</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qareaseries.html#hovered">hovered</a></b>(const QPointF &<i>point</i>, bool <i>state</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qareaseries.html#pointLabelsClippingChanged">pointLabelsClippingChanged</a></b>(bool <i>clipping</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qareaseries.html#pointLabelsColorChanged">pointLabelsColorChanged</a></b>(const QColor &<i>color</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qareaseries.html#pointLabelsFontChanged">pointLabelsFontChanged</a></b>(const QFont &<i>font</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qareaseries.html#pointLabelsFormatChanged">pointLabelsFormatChanged</a></b>(const QString &<i>format</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qareaseries.html#pointLabelsVisibilityChanged">pointLabelsVisibilityChanged</a></b>(bool <i>visible</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qareaseries.html#pressed">pressed</a></b>(const QPointF &<i>point</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qareaseries.html#released">released</a></b>(const QPointF &<i>point</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>
<!-- $$$QAreaSeries-description -->
<div class="descr">
<h2 id="details">Detailed Description</h2>
<p>The <a href="qareaseries.html">QAreaSeries</a> class presents data in area charts.</p>
<p>An area series is used to show quantitative data. It is based on a line series, in the way that the area between the boundary lines is emphasized with color. Since the area series is based on the line series, the <a href="qareaseries.html">QAreaSeries</a> constructor needs a <a href="qlineseries.html">QLineSeries</a> instance, which defines the <i>upper</i> boundary of the area. The area chart is drawn using the bottom of the plot area as the <i>lower</i> boundary by default. Instead of the bottom of the plot area, the lower boundary can be specified by another line. In that case, <a href="qareaseries.html">QAreaSeries</a> should be initialized with two <a href="qlineseries.html">QLineSeries</a> instances.</p>
<p><b>Note: </b>The terms <i>upper</i> and <i>lower</i> boundary can be misleading in cases where the value of the lower boundary is greater than that of the upper boundary. The main point is that the area between these two boundary lines will be filled.</p><p>See the <a href="qtcharts-areachart-example.html">area chart example</a> to learn how to create a simple area chart.</p>
<p class="centerAlign"><img src="images/examples_areachart.png" alt="" /></p></div>
<!-- @@@QAreaSeries -->
<div class="prop">
<h2>Property Documentation</h2>
<!-- $$$borderColor-prop$$$borderColor$$$setBorderColorconstQColor&$$$borderColorChangedQColor -->
<h3 class="fn" id="borderColor-prop"><a name="borderColor-prop"></a><span class="name">borderColor</span> : <span class="type">QColor</span></h3>
<p>This property holds the line (pen) color of the series. This is a convenience property for modifying the color of the pen.</p>
<p><b>Access functions:</b></p>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> QColor </td><td class="memItemRight bottomAlign"><span class="name"><b>borderColor</b></span>() const</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setBorderColor</b></span>(const QColor &<i>color</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="qareaseries.html#borderColorChanged">borderColorChanged</a></b></span>(QColor <i>color</i>)</td></tr>
</table></div>
<p><b>See also </b><a href="qareaseries.html#pen">QAreaSeries::pen</a>().</p>
<!-- @@@borderColor -->
<!-- $$$color-prop$$$color$$$setColorconstQColor&$$$colorChangedQColor -->
<h3 class="fn" id="color-prop"><a name="color-prop"></a><span class="name">color</span> : <span class="type">QColor</span></h3>
<p>This property holds the fill (brush) color of the series. This is a convenience property for modifying the color of the brush.</p>
<p><b>Access functions:</b></p>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> QColor </td><td class="memItemRight bottomAlign"><span class="name"><b>color</b></span>() const</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setColor</b></span>(const QColor &<i>color</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="qareaseries.html#colorChanged">colorChanged</a></b></span>(QColor <i>color</i>)</td></tr>
</table></div>
<p><b>See also </b><a href="qareaseries.html#brush">QAreaSeries::brush</a>().</p>
<!-- @@@color -->
<!-- $$$lowerSeries-prop$$$lowerSeries -->
<h3 class="fn" id="lowerSeries-prop"><a name="lowerSeries-prop"></a><span class="name">lowerSeries</span> : <span class="type"><a href="qlineseries.html">QLineSeries</a></span> * const</h3>
<p>This property holds the lower one of the two line series used to define area series boundaries.</p>
<p><b>Note: </b>If <a href="qareaseries.html">QAreaSeries</a> was constructed without a lowerSeries, this is null.</p><p><b>Access functions:</b></p>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> QLineSeries *</td><td class="memItemRight bottomAlign"><span class="name"><b>lowerSeries</b></span>() const</td></tr>
</table></div>
<!-- @@@lowerSeries -->
<!-- $$$pointLabelsClipping-prop$$$pointLabelsClipping$$$setPointLabelsClippingbool$$$pointLabelsClippingChangedbool -->
<h3 class="fn" id="pointLabelsClipping-prop"><a name="pointLabelsClipping-prop"></a><span class="name">pointLabelsClipping</span> : <span class="type">bool</span></h3>
<p>This property holds the clipping for data point labels. True by default. The labels on the edge of the plot area are cut when clipping is enabled.</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>pointLabelsClipping</b></span>() const</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setPointLabelsClipping</b></span>(bool <i>enabled</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="qareaseries.html#pointLabelsClippingChanged">pointLabelsClippingChanged</a></b></span>(bool <i>clipping</i>)</td></tr>
</table></div>
<p><b>See also </b><a href="qareaseries.html#pointLabelsVisible-prop">pointLabelsVisible</a>.</p>
<!-- @@@pointLabelsClipping -->
<!-- $$$pointLabelsColor-prop$$$pointLabelsColor$$$setPointLabelsColorconstQColor&$$$pointLabelsColorChangedconstQColor& -->
<h3 class="fn" id="pointLabelsColor-prop"><a name="pointLabelsColor-prop"></a><span class="name">pointLabelsColor</span> : <span class="type">QColor</span></h3>
<p>This property holds the color used for data point labels. By default, the color is the color of the brush defined for labels in the theme.</p>
<p><b>Access functions:</b></p>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> QColor </td><td class="memItemRight bottomAlign"><span class="name"><b>pointLabelsColor</b></span>() const</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setPointLabelsColor</b></span>(const QColor &<i>color</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="qareaseries.html#pointLabelsColorChanged">pointLabelsColorChanged</a></b></span>(const QColor &<i>color</i>)</td></tr>
</table></div>
<p><b>See also </b><a href="qareaseries.html#pointLabelsFormat-prop">QAreaSeries::pointLabelsFormat</a>.</p>
<!-- @@@pointLabelsColor -->
<!-- $$$pointLabelsFont-prop$$$pointLabelsFont$$$setPointLabelsFontconstQFont&$$$pointLabelsFontChangedconstQFont& -->
<h3 class="fn" id="pointLabelsFont-prop"><a name="pointLabelsFont-prop"></a><span class="name">pointLabelsFont</span> : <span class="type">QFont</span></h3>
<p>This property holds the font used for data point labels.</p>
<p><b>Access functions:</b></p>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> QFont </td><td class="memItemRight bottomAlign"><span class="name"><b>pointLabelsFont</b></span>() const</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setPointLabelsFont</b></span>(const QFont &<i>font</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="qareaseries.html#pointLabelsFontChanged">pointLabelsFontChanged</a></b></span>(const QFont &<i>font</i>)</td></tr>
</table></div>
<p><b>See also </b><a href="qareaseries.html#pointLabelsFormat-prop">QAreaSeries::pointLabelsFormat</a>.</p>
<!-- @@@pointLabelsFont -->
<!-- $$$pointLabelsFormat-prop$$$pointLabelsFormat$$$setPointLabelsFormatconstQString&$$$pointLabelsFormatChangedconstQString& -->
<h3 class="fn" id="pointLabelsFormat-prop"><a name="pointLabelsFormat-prop"></a><span class="name">pointLabelsFormat</span> : <span class="type">QString</span></h3>
<p>This property holds the format used for showing labels with series points.</p>
<p><a href="qareaseries.html">QAreaSeries</a> supports the following format tags:</p>
<div class="table"><table class="generic">
<tr valign="top" class="odd"><td >@xPoint</td><td >The x value of the data point</td></tr>
<tr valign="top" class="even"><td >@yPoint</td><td >The y value of the data point</td></tr>
</table></div>
<p>For example, the following usage of the format tags would produce labels that have the data point (x, y) shown inside brackets separated by a comma:</p>
<pre class="cpp">
series<span class="operator">-</span><span class="operator">></span>setPointLabelsFormat(<span class="string">"(@xPoint, @yPoint)"</span>);
</pre>
<p>By default, the label format is set to <code>@xPoint, @yPoint</code>. The labels are shown on the plot area, whereas labels on the edge of the plot area are cut. If the points 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>pointLabelsFormat</b></span>() const</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setPointLabelsFormat</b></span>(const QString &<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="qareaseries.html#pointLabelsFormatChanged">pointLabelsFormatChanged</a></b></span>(const QString &<i>format</i>)</td></tr>
</table></div>
<p><b>See also </b><a href="qareaseries.html#pointLabelsVisible-prop">QAreaSeries::pointLabelsVisible</a>, <a href="qareaseries.html#pointLabelsFont-prop">QAreaSeries::pointLabelsFont</a>, and <a href="qareaseries.html#pointLabelsColor-prop">QAreaSeries::pointLabelsColor</a>.</p>
<!-- @@@pointLabelsFormat -->
<!-- $$$pointLabelsVisible-prop$$$pointLabelsVisible$$$setPointLabelsVisiblebool$$$pointLabelsVisibilityChangedbool -->
<h3 class="fn" id="pointLabelsVisible-prop"><a name="pointLabelsVisible-prop"></a><span class="name">pointLabelsVisible</span> : <span class="type">bool</span></h3>
<p>This property holds the visibility of data point labels. False by default.</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>pointLabelsVisible</b></span>() const</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setPointLabelsVisible</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="qareaseries.html#pointLabelsVisibilityChanged">pointLabelsVisibilityChanged</a></b></span>(bool <i>visible</i>)</td></tr>
</table></div>
<p><b>See also </b><a href="qareaseries.html#pointLabelsFormat-prop">QAreaSeries::pointLabelsFormat</a> and <a href="qareaseries.html#pointLabelsClipping-prop">QAreaSeries::pointLabelsClipping</a>.</p>
<!-- @@@pointLabelsVisible -->
<!-- $$$upperSeries-prop$$$upperSeries -->
<h3 class="fn" id="upperSeries-prop"><a name="upperSeries-prop"></a><span class="name">upperSeries</span> : <span class="type"><a href="qlineseries.html">QLineSeries</a></span> * const</h3>
<p>This property holds the upper one of the two line series used to define area series boundaries.</p>
<p><b>Access functions:</b></p>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> QLineSeries *</td><td class="memItemRight bottomAlign"><span class="name"><b>upperSeries</b></span>() const</td></tr>
</table></div>
<!-- @@@upperSeries -->
</div>
<div class="func">
<h2>Member Function Documentation</h2>
<!-- $$$QAreaSeries[overload1]$$$QAreaSeriesQObject* -->
<h3 class="fn" id="QAreaSeries"><a name="QAreaSeries"></a>QAreaSeries::<span class="name">QAreaSeries</span>(<span class="type">QObject</span> *<i>parent</i> = Q_NULLPTR)</h3>
<p>Constructs an area series object without an upper or a lower series with the <i>parent</i> object.</p>
<!-- @@@QAreaSeries -->
<!-- $$$QAreaSeries$$$QAreaSeriesQLineSeries*QLineSeries* -->
<h3 class="fn" id="QAreaSeries-1"><a name="QAreaSeries-1"></a>QAreaSeries::<span class="name">QAreaSeries</span>(<span class="type"><a href="qlineseries.html">QLineSeries</a></span> *<i>upperSeries</i>, <span class="type"><a href="qlineseries.html">QLineSeries</a></span> *<i>lowerSeries</i> = Q_NULLPTR)</h3>
<p>Constructs an area series object that will be spanned between an <i>upperSeries</i> line and a <i>lowerSeries</i> line. If no <i>lowerSeries</i> is passed to the constructor, the x-axis is used as the lower bound instead.</p>
<p>The <a href="qareaseries.html">QAreaSeries</a> does not own the upper or lower series, but the ownership stays with the caller. When the series object is added to <a href="qchartview.html">QChartView</a> or <a href="qchart.html">QChart</a>, the instance ownership is transferred.</p>
<!-- @@@QAreaSeries -->
<!-- $$$~QAreaSeries[overload1]$$$~QAreaSeries -->
<h3 class="fn" id="dtor.QAreaSeries"><a name="dtor.QAreaSeries"></a>QAreaSeries::<span class="name">~QAreaSeries</span>()</h3>
<p>Destroys the object.</p>
<!-- @@@~QAreaSeries -->
<!-- $$$borderColorChanged -->
<h3 class="fn" id="borderColorChanged"><a name="borderColorChanged"></a><code>[signal] </code><span class="type">void</span> QAreaSeries::<span class="name">borderColorChanged</span>(<span class="type">QColor</span> <i>color</i>)</h3>
<p>This signal is emitted when the line (pen) color changes to <i>color</i>.</p>
<p><b>Note:</b> Notifier signal for property <a href="qareaseries.html#borderColor-prop">borderColor</a>. </p><!-- @@@borderColorChanged -->
<!-- $$$brush[overload1]$$$brush -->
<h3 class="fn" id="brush"><a name="brush"></a><span class="type">QBrush</span> QAreaSeries::<span class="name">brush</span>() const</h3>
<p>Returns the brush used to draw the line for this series.</p>
<p><b>See also </b><a href="qareaseries.html#setBrush">setBrush</a>().</p>
<!-- @@@brush -->
<!-- $$$clicked[overload1]$$$clickedconstQPointF& -->
<h3 class="fn" id="clicked"><a name="clicked"></a><code>[signal] </code><span class="type">void</span> QAreaSeries::<span class="name">clicked</span>(const <span class="type">QPointF</span> &<i>point</i>)</h3>
<p>This signal is emitted when the user triggers a press on <i>point</i> by clicking it in an area chart.</p>
<p><b>See also </b><a href="qareaseries.html#pressed">pressed</a>, <a href="qareaseries.html#released">released</a>, and <a href="qareaseries.html#doubleClicked">doubleClicked</a>.</p>
<!-- @@@clicked -->
<!-- $$$colorChanged -->
<h3 class="fn" id="colorChanged"><a name="colorChanged"></a><code>[signal] </code><span class="type">void</span> QAreaSeries::<span class="name">colorChanged</span>(<span class="type">QColor</span> <i>color</i>)</h3>
<p>This signal is emitted when the fill (brush) color changes to <i>color</i>.</p>
<p><b>Note:</b> Notifier signal for property <a href="qareaseries.html#color-prop">color</a>. </p><!-- @@@colorChanged -->
<!-- $$$doubleClicked[overload1]$$$doubleClickedconstQPointF& -->
<h3 class="fn" id="doubleClicked"><a name="doubleClicked"></a><code>[signal] </code><span class="type">void</span> QAreaSeries::<span class="name">doubleClicked</span>(const <span class="type">QPointF</span> &<i>point</i>)</h3>
<p>This signal is emitted when the user triggers the first press in an area chart by doubleclicking <i>point</i>.</p>
<p><b>See also </b><a href="qareaseries.html#pressed">pressed</a>, <a href="qareaseries.html#released">released</a>, and <a href="qareaseries.html#clicked">clicked</a>.</p>
<!-- @@@doubleClicked -->
<!-- $$$hovered[overload1]$$$hoveredconstQPointF&bool -->
<h3 class="fn" id="hovered"><a name="hovered"></a><code>[signal] </code><span class="type">void</span> QAreaSeries::<span class="name">hovered</span>(const <span class="type">QPointF</span> &<i>point</i>, <span class="type">bool</span> <i>state</i>)</h3>
<p>This signal is emitted when the user hovers the mouse cursor over a series or moves it away from the series. <i>point</i> shows the origin (coordinate) of the hover event. <i>state</i> is <code>true</code> when the cursor hovers over the series and turns <i>false</i> when it moves away from the series.</p>
<!-- @@@hovered -->
<!-- $$$pen[overload1]$$$pen -->
<h3 class="fn" id="pen"><a name="pen"></a><span class="type">QPen</span> QAreaSeries::<span class="name">pen</span>() const</h3>
<p>Returns the pen used to draw the line for this series.</p>
<p><b>See also </b><a href="qareaseries.html#setPen">setPen</a>().</p>
<!-- @@@pen -->
<!-- $$$pointLabelsClippingChanged -->
<h3 class="fn" id="pointLabelsClippingChanged"><a name="pointLabelsClippingChanged"></a><code>[signal] </code><span class="type">void</span> QAreaSeries::<span class="name">pointLabelsClippingChanged</span>(<span class="type">bool</span> <i>clipping</i>)</h3>
<p>This signal is emitted when the clipping of the data point labels changes to <i>clipping</i>.</p>
<p><b>Note:</b> Notifier signal for property <a href="qareaseries.html#pointLabelsClipping-prop">pointLabelsClipping</a>. </p><!-- @@@pointLabelsClippingChanged -->
<!-- $$$pointLabelsColorChanged -->
<h3 class="fn" id="pointLabelsColorChanged"><a name="pointLabelsColorChanged"></a><code>[signal] </code><span class="type">void</span> QAreaSeries::<span class="name">pointLabelsColorChanged</span>(const <span class="type">QColor</span> &<i>color</i>)</h3>
<p>This signal is emitted when the color used for data point labels changes to <i>color</i>.</p>
<p><b>Note:</b> Notifier signal for property <a href="qareaseries.html#pointLabelsColor-prop">pointLabelsColor</a>. </p><!-- @@@pointLabelsColorChanged -->
<!-- $$$pointLabelsFontChanged -->
<h3 class="fn" id="pointLabelsFontChanged"><a name="pointLabelsFontChanged"></a><code>[signal] </code><span class="type">void</span> QAreaSeries::<span class="name">pointLabelsFontChanged</span>(const <span class="type">QFont</span> &<i>font</i>)</h3>
<p>This signal is emitted when the font used for data point labels changes to <i>font</i>.</p>
<p><b>Note:</b> Notifier signal for property <a href="qareaseries.html#pointLabelsFont-prop">pointLabelsFont</a>. </p><!-- @@@pointLabelsFontChanged -->
<!-- $$$pointLabelsFormatChanged -->
<h3 class="fn" id="pointLabelsFormatChanged"><a name="pointLabelsFormatChanged"></a><code>[signal] </code><span class="type">void</span> QAreaSeries::<span class="name">pointLabelsFormatChanged</span>(const <span class="type">QString</span> &<i>format</i>)</h3>
<p>This signal is emitted when the <i>format</i> of data point labels is changed.</p>
<p><b>Note:</b> Notifier signal for property <a href="qareaseries.html#pointLabelsFormat-prop">pointLabelsFormat</a>. </p><!-- @@@pointLabelsFormatChanged -->
<!-- $$$pointLabelsVisibilityChanged -->
<h3 class="fn" id="pointLabelsVisibilityChanged"><a name="pointLabelsVisibilityChanged"></a><code>[signal] </code><span class="type">void</span> QAreaSeries::<span class="name">pointLabelsVisibilityChanged</span>(<span class="type">bool</span> <i>visible</i>)</h3>
<p>This signal is emitted when the visibility of the data point labels changes to <i>visible</i>.</p>
<p><b>Note:</b> Notifier signal for property <a href="qareaseries.html#pointLabelsVisible-prop">pointLabelsVisible</a>. </p><!-- @@@pointLabelsVisibilityChanged -->
<!-- $$$pointsVisible[overload1]$$$pointsVisible -->
<h3 class="fn" id="pointsVisible"><a name="pointsVisible"></a><span class="type">bool</span> QAreaSeries::<span class="name">pointsVisible</span>() const</h3>
<p>Returns whether the points are drawn for this series.</p>
<p><b>See also </b><a href="qareaseries.html#setPointsVisible">setPointsVisible</a>().</p>
<!-- @@@pointsVisible -->
<!-- $$$pressed[overload1]$$$pressedconstQPointF& -->
<h3 class="fn" id="pressed"><a name="pressed"></a><code>[signal] </code><span class="type">void</span> QAreaSeries::<span class="name">pressed</span>(const <span class="type">QPointF</span> &<i>point</i>)</h3>
<p>This signal is emitted when the user presses the point specified by <i>point</i> in an area chart.</p>
<p><b>See also </b><a href="qareaseries.html#clicked">clicked</a>, <a href="qareaseries.html#released">released</a>, and <a href="qareaseries.html#doubleClicked">doubleClicked</a>.</p>
<!-- @@@pressed -->
<!-- $$$released[overload1]$$$releasedconstQPointF& -->
<h3 class="fn" id="released"><a name="released"></a><code>[signal] </code><span class="type">void</span> QAreaSeries::<span class="name">released</span>(const <span class="type">QPointF</span> &<i>point</i>)</h3>
<p>This signal is emitted when the user releases a press that was triggered on <i>point</i> in an area chart.</p>
<p><b>See also </b><a href="qareaseries.html#pressed">pressed</a>, <a href="qareaseries.html#clicked">clicked</a>, and <a href="qareaseries.html#doubleClicked">doubleClicked</a>.</p>
<!-- @@@released -->
<!-- $$$setBrush[overload1]$$$setBrushconstQBrush& -->
<h3 class="fn" id="setBrush"><a name="setBrush"></a><span class="type">void</span> QAreaSeries::<span class="name">setBrush</span>(const <span class="type">QBrush</span> &<i>brush</i>)</h3>
<p>Sets the <i>brush</i> used for filling the area.</p>
<p><b>See also </b><a href="qareaseries.html#brush">brush</a>().</p>
<!-- @@@setBrush -->
<!-- $$$setLowerSeries[overload1]$$$setLowerSeriesQLineSeries* -->
<h3 class="fn" id="setLowerSeries"><a name="setLowerSeries"></a><span class="type">void</span> QAreaSeries::<span class="name">setLowerSeries</span>(<span class="type"><a href="qlineseries.html">QLineSeries</a></span> *<i>series</i>)</h3>
<p>Sets the <i>series</i> that is to be used as the area chart lower series.</p>
<p><b>See also </b><a href="qareaseries.html#lowerSeries-prop">lowerSeries</a>().</p>
<!-- @@@setLowerSeries -->
<!-- $$$setPen[overload1]$$$setPenconstQPen& -->
<h3 class="fn" id="setPen"><a name="setPen"></a><span class="type">void</span> QAreaSeries::<span class="name">setPen</span>(const <span class="type">QPen</span> &<i>pen</i>)</h3>
<p>Sets the <i>pen</i> used for drawing the area outline.</p>
<p><b>See also </b><a href="qareaseries.html#pen">pen</a>().</p>
<!-- @@@setPen -->
<!-- $$$setPointsVisible[overload1]$$$setPointsVisiblebool -->
<h3 class="fn" id="setPointsVisible"><a name="setPointsVisible"></a><span class="type">void</span> QAreaSeries::<span class="name">setPointsVisible</span>(<span class="type">bool</span> <i>visible</i> = true)</h3>
<p>Determines whether data points are <i>visible</i> and should be drawn on the line.</p>
<p><b>See also </b><a href="qareaseries.html#pointsVisible">pointsVisible</a>().</p>
<!-- @@@setPointsVisible -->
<!-- $$$setUpperSeries[overload1]$$$setUpperSeriesQLineSeries* -->
<h3 class="fn" id="setUpperSeries"><a name="setUpperSeries"></a><span class="type">void</span> QAreaSeries::<span class="name">setUpperSeries</span>(<span class="type"><a href="qlineseries.html">QLineSeries</a></span> *<i>series</i>)</h3>
<p>Sets the <i>series</i> that is to be used as the area chart upper series. If the upper series is null, the area chart is not drawn, even if it has a lower series.</p>
<p><b>See also </b><a href="qareaseries.html#upperSeries-prop">upperSeries</a>().</p>
<!-- @@@setUpperSeries -->
<!-- $$$type[overload1]$$$type -->
<h3 class="fn" id="type"><a name="type"></a><code>[virtual] </code><span class="type"><a href="qabstractseries.html#SeriesType-enum">QAbstractSeries::SeriesType</a></span> QAreaSeries::<span class="name">type</span>() const</h3>
<p>Reimplemented from <a href="qabstractseries.html#type-prop">QAbstractSeries::type</a>().</p>
<p>Returns <a href="qabstractseries.html#SeriesType-enum">QAbstractSeries::SeriesTypeArea</a>.</p>
<!-- @@@type -->
</div>
</div>
</div>
</div>
</div>
</div>
<div class="footer">
<p>
<acronym title="Copyright">©</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>
|