<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html> <html lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <!-- qcategory3daxis.cpp --> <title>QCategory3DAxis Class | Qt Data Visualization 5.12.6</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 >QCategory3DAxis</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="#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="#static-public-members">Static Public Members</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">QCategory3DAxis Class</h1> <!-- $$$QCategory3DAxis-brief --> <p>The <a href="qcategory3daxis.html">QCategory3DAxis</a> class manipulates an axis of a graph. <a href="#details">More...</a></p> <!-- @@@QCategory3DAxis --> <div class="table"><table class="alignedsummary"> <tr><td class="memItemLeft rightAlign topAlign"> Header:</td><td class="memItemRight bottomAlign"> <span class="preprocessor">#include <QCategory3DAxis></span> </td></tr><tr><td class="memItemLeft rightAlign topAlign"> Since:</td><td class="memItemRight bottomAlign"> QtDataVisualization 1.0</td></tr><tr><td class="memItemLeft rightAlign topAlign"> Instantiated By:</td><td class="memItemRight bottomAlign"> <a href="qml-qtdatavisualization-categoryaxis3d.html">CategoryAxis3D</a></td></tr><tr><td class="memItemLeft rightAlign topAlign"> Inherits:</td><td class="memItemRight bottomAlign"> <a href="qabstract3daxis.html">QAbstract3DAxis</a></td></tr></table></div><ul> <li><a href="qcategory3daxis-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><a href="qcategory3daxis.html#labels-prop">labels</a></b> : QStringList</li> </ul> <ul> <li class="fn">10 properties inherited from <a href="qabstract3daxis.html#properties">QAbstract3DAxis</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="qcategory3daxis.html#QCategory3DAxis">QCategory3DAxis</a></b>(QObject *<i>parent</i> = nullptr)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> virtual </td><td class="memItemRight bottomAlign"><b><a href="qcategory3daxis.html#dtor.QCategory3DAxis">~QCategory3DAxis</a></b>()</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> QStringList </td><td class="memItemRight bottomAlign"><b><a href="qcategory3daxis.html#labels-prop">labels</a></b>() const</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qcategory3daxis.html#labels-prop">setLabels</a></b>(const QStringList &<i>labels</i>)</td></tr> </table></div> <ul> <li class="fn">19 public functions inherited from <a href="qabstract3daxis.html#public-functions">QAbstract3DAxis</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="qcategory3daxis.html#labels-prop">labelsChanged</a></b>()</td></tr> </table></div> <ul> <li class="fn">10 signals inherited from <a href="qabstract3daxis.html#signals">QAbstract3DAxis</a></li> </ul> <a name="static-public-members"></a> <h2 id="static-public-members">Static Public Members</h2> <div class="table"><table class="alignedsummary"> <tr><td class="memItemLeft rightAlign topAlign"> const QMetaObject </td><td class="memItemRight bottomAlign"><b><a href="qcategory3daxis.html#staticMetaObject-var">staticMetaObject</a></b></td></tr> </table></div> <a name="details"></a> <!-- $$$QCategory3DAxis-description --> <div class="descr"> <h2 id="details">Detailed Description</h2> <p>The <a href="qcategory3daxis.html">QCategory3DAxis</a> class manipulates an axis of a graph.</p> <p><a href="qcategory3daxis.html">QCategory3DAxis</a> provides an axis that can be given labels. The axis is divided into equal-sized categories based on the data window size defined by setting the axis range.</p> <p>Grid lines are drawn between categories, if visible. Labels are drawn to positions of categories if provided.</p> </div> <!-- @@@QCategory3DAxis --> <div class="prop"> <h2>Property Documentation</h2> <!-- $$$labels-prop$$$labels$$$setLabelsconstQStringList&$$$labelsChanged --> <h3 class="fn" id="labels-prop"><a name="labels-prop"></a><span class="name">labels</span> : <span class="type">QStringList</span></h3> <p>This property holds the labels for the axis applied to categories.</p> <p>If there are fewer labels than categories, the remaining ones do not have a label. If category labels are not defined explicitly, labels are generated from the data row (or column) labels of the primary series of the graph.</p> <p><b>Access functions:</b></p> <div class="table"><table class="alignedsummary"> <tr><td class="memItemLeft topAlign rightAlign"> QStringList </td><td class="memItemRight bottomAlign"><span class="name"><b>labels</b></span>() const</td></tr> <tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setLabels</b></span>(const QStringList &<i>labels</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>labelsChanged</b></span>()</td></tr> </table></div> <!-- @@@labels --> </div> <div class="func"> <h2>Member Function Documentation</h2> <!-- $$$QCategory3DAxis[overload1]$$$QCategory3DAxisQObject* --> <h3 class="fn" id="QCategory3DAxis"><a name="QCategory3DAxis"></a>QCategory3DAxis::<span class="name">QCategory3DAxis</span>(<span class="type">QObject</span> *<i>parent</i> = nullptr)</h3> <p>Constructs a category 3D axis with the parent <i>parent</i>.</p> <!-- @@@QCategory3DAxis --> <!-- $$$~QCategory3DAxis[overload1]$$$~QCategory3DAxis --> <h3 class="fn" id="dtor.QCategory3DAxis"><a name="dtor.QCategory3DAxis"></a><code>[virtual] </code>QCategory3DAxis::<span class="name">~QCategory3DAxis</span>()</h3> <p>Destroys the category 3D axis.</p> <!-- @@@~QCategory3DAxis --> </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>