<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html> <html lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <!-- qbardataitem.cpp --> <title>QBarDataItem Class | Qt Data Visualization 5.12.2</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.12</td><td ><a href="qtdatavisualization-index.html">Qt Data Visualization</a></td><td ><a href="qtdatavisualization-module.html">C++ Classes</a></td><td >QBarDataItem</td></tr></table><table class="buildversion"><tr> <td id="buildversion" width="100%" align="right"><a href="qtdatavisualization-index.html">Qt Data Visualization | Commercial or GPLv3</a></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-functions">Public Functions</a></li> <li class="level1"><a href="#protected-variables">Protected Variables</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">QBarDataItem Class</h1> <!-- $$$QBarDataItem-brief --> <p>The <a href="qbardataitem.html">QBarDataItem</a> class provides a container for resolved data to be added to bar graphs. <a href="#details">More...</a></p> <!-- @@@QBarDataItem --> <div class="table"><table class="alignedsummary"> <tr><td class="memItemLeft rightAlign topAlign"> Header:</td><td class="memItemRight bottomAlign"> <span class="preprocessor">#include <QBarDataItem></span> </td></tr><tr><td class="memItemLeft rightAlign topAlign"> Since:</td><td class="memItemRight bottomAlign"> QtDataVisualization 1.0</td></tr></table></div><ul> <li><a href="qbardataitem-members.html">List of all members, including inherited members</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="qbardataitem.html#QBarDataItem">QBarDataItem</a></b>()</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qbardataitem.html#QBarDataItem-1">QBarDataItem</a></b>(float <i>value</i>)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qbardataitem.html#QBarDataItem-2">QBarDataItem</a></b>(float <i>value</i>, float <i>angle</i>)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qbardataitem.html#QBarDataItem-3">QBarDataItem</a></b>(const QBarDataItem &<i>other</i>)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qbardataitem.html#dtor.QBarDataItem">~QBarDataItem</a></b>()</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> float </td><td class="memItemRight bottomAlign"><b><a href="qbardataitem.html#rotation">rotation</a></b>() const</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qbardataitem.html#setRotation">setRotation</a></b>(float <i>angle</i>)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qbardataitem.html#setValue">setValue</a></b>(float <i>val</i>)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> float </td><td class="memItemRight bottomAlign"><b><a href="qbardataitem.html#value">value</a></b>() const</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> QBarDataItem &</td><td class="memItemRight bottomAlign"><b><a href="qbardataitem.html#operator-eq">operator=</a></b>(const QBarDataItem &<i>other</i>)</td></tr> </table></div> <a name="protected-variables"></a> <h2 id="protected-variables">Protected Variables</h2> <div class="table"><table class="alignedsummary"> <tr><td class="memItemLeft rightAlign topAlign"> QBarDataItemPrivate *</td><td class="memItemRight bottomAlign"><b><a href="qbardataitem.html#d_ptr-var">d_ptr</a></b></td></tr> </table></div> <a name="details"></a> <!-- $$$QBarDataItem-description --> <div class="descr"> <h2 id="details">Detailed Description</h2> <p>The <a href="qbardataitem.html">QBarDataItem</a> class provides a container for resolved data to be added to bar graphs.</p> <p>A bar data item holds the data for a single rendered bar in a graph. Bar data proxies parse data into <a href="qbardataitem.html">QBarDataItem</a> instances for visualization.</p> </div> <p><b>See also </b><a href="qbardataproxy.html">QBarDataProxy</a> and <a href="qtdatavisualization-module.html">Qt Data Visualization C++ Classes</a>.</p> <!-- @@@QBarDataItem --> <div class="func"> <h2>Member Function Documentation</h2> <!-- $$$QBarDataItem[overload1]$$$QBarDataItem --> <h3 class="fn" id="QBarDataItem"><a name="QBarDataItem"></a>QBarDataItem::<span class="name">QBarDataItem</span>()</h3> <p>Constructs a bar data item.</p> <!-- @@@QBarDataItem --> <!-- $$$QBarDataItem$$$QBarDataItemfloat --> <h3 class="fn" id="QBarDataItem-1"><a name="QBarDataItem-1"></a>QBarDataItem::<span class="name">QBarDataItem</span>(<span class="type">float</span> <i>value</i>)</h3> <p>Constructs a bar data item with the value <i>value</i>.</p> <!-- @@@QBarDataItem --> <!-- $$$QBarDataItem$$$QBarDataItemfloatfloat --> <h3 class="fn" id="QBarDataItem-2"><a name="QBarDataItem-2"></a>QBarDataItem::<span class="name">QBarDataItem</span>(<span class="type">float</span> <i>value</i>, <span class="type">float</span> <i>angle</i>)</h3> <p>Constructs a bar data item with the value <i>value</i> and angle <i>angle</i>.</p> <!-- @@@QBarDataItem --> <!-- $$$QBarDataItem$$$QBarDataItemconstQBarDataItem& --> <h3 class="fn" id="QBarDataItem-3"><a name="QBarDataItem-3"></a>QBarDataItem::<span class="name">QBarDataItem</span>(const <span class="type"><a href="qbardataitem.html#QBarDataItem">QBarDataItem</a></span> &<i>other</i>)</h3> <p>Constructs a copy of <i>other</i>.</p> <!-- @@@QBarDataItem --> <!-- $$$~QBarDataItem[overload1]$$$~QBarDataItem --> <h3 class="fn" id="dtor.QBarDataItem"><a name="dtor.QBarDataItem"></a>QBarDataItem::<span class="name">~QBarDataItem</span>()</h3> <p>Deletes a bar data item.</p> <!-- @@@~QBarDataItem --> <!-- $$$rotation[overload1]$$$rotation --> <h3 class="fn" id="rotation"><a name="rotation"></a><span class="type">float</span> QBarDataItem::<span class="name">rotation</span>() const</h3> <p><b>See also </b><a href="qbardataitem.html#setRotation">setRotation</a>().</p> <!-- @@@rotation --> <!-- $$$setRotation[overload1]$$$setRotationfloat --> <h3 class="fn" id="setRotation"><a name="setRotation"></a><span class="type">void</span> QBarDataItem::<span class="name">setRotation</span>(<span class="type">float</span> <i>angle</i>)</h3> <p><b>See also </b><a href="qbardataitem.html#rotation">rotation</a>().</p> <!-- @@@setRotation --> <!-- $$$setValue[overload1]$$$setValuefloat --> <h3 class="fn" id="setValue"><a name="setValue"></a><span class="type">void</span> QBarDataItem::<span class="name">setValue</span>(<span class="type">float</span> <i>val</i>)</h3> <p><b>See also </b><a href="qbardataitem.html#value">value</a>().</p> <!-- @@@setValue --> <!-- $$$value[overload1]$$$value --> <h3 class="fn" id="value"><a name="value"></a><span class="type">float</span> QBarDataItem::<span class="name">value</span>() const</h3> <p><b>See also </b><a href="qbardataitem.html#setValue">setValue</a>().</p> <!-- @@@value --> <!-- $$$operator=[overload1]$$$operator=constQBarDataItem& --> <h3 class="fn" id="operator-eq"><a name="operator-eq"></a><span class="type"><a href="qbardataitem.html#QBarDataItem">QBarDataItem</a></span> &QBarDataItem::<span class="name">operator=</span>(const <span class="type"><a href="qbardataitem.html#QBarDataItem">QBarDataItem</a></span> &<i>other</i>)</h3> <p>Assigns a copy of <i>other</i> to this object.</p> <!-- @@@operator= --> </div> </div> </div> </div> </div> </div> <div class="footer"> <p> <acronym title="Copyright">©</acronym> 2019 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>