Sophie

Sophie

distrib > Mageia > 6 > x86_64 > media > core-updates > by-pkgid > 19952c5e751bf7e3108c3c59625b0f35 > files > 248

qtcharts5-doc-5.9.4-1.mga6.noarch.rpm

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html lang="en">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- qpolarchart.cpp -->
  <title>QPolarChart 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 >QPolarChart</td></tr></table><table class="buildversion"><tr>
<td id="buildversion" width="100%" align="right">Qt 5.9.4 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="#public-functions">Public Functions</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">QPolarChart Class</h1>
<!-- $$$QPolarChart-brief -->
<p>The <a href="qpolarchart.html">QPolarChart</a> presents data in polar charts. <a href="#details">More...</a></p>
<!-- @@@QPolarChart -->
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> Header:</td><td class="memItemRight bottomAlign">   <span class="preprocessor">#include &lt;QPolarChart&gt;</span>
</td></tr><tr><td class="memItemLeft rightAlign topAlign"> Inherits:</td><td class="memItemRight bottomAlign"> <a href="qchart.html">QChart</a></td></tr></table></div><ul>
<li><a href="qpolarchart-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="qpolarchart.html#PolarOrientation-enum">PolarOrientation</a></b> { PolarOrientationRadial, PolarOrientationAngular }</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> flags </td><td class="memItemRight bottomAlign"><b><a href="qpolarchart.html#PolarOrientation-enum">PolarOrientations</a></b></td></tr>
</table></div>
<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="qpolarchart.html#QPolarChart">QPolarChart</a></b>(QGraphicsItem *<i>parent</i> = Q_NULLPTR, Qt::WindowFlags <i>wFlags</i> = Qt::WindowFlags())</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qpolarchart.html#dtor.QPolarChart">~QPolarChart</a></b>()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qpolarchart.html#addAxis">addAxis</a></b>(QAbstractAxis *<i>axis</i>, PolarOrientation <i>polarOrientation</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QList&lt;QAbstractAxis *&gt; </td><td class="memItemRight bottomAlign"><b><a href="qpolarchart.html#axes">axes</a></b>(PolarOrientations <i>polarOrientation</i> = PolarOrientations( PolarOrientationRadial | PolarOrientationAngular ), QAbstractSeries *<i>series</i> = Q_NULLPTR) const</td></tr>
</table></div>
<ul>
<li class="fn">60 public functions inherited from <a href="qchart.html#public-functions">QChart</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"> PolarOrientation </td><td class="memItemRight bottomAlign"><b><a href="qpolarchart.html#axisPolarOrientation">axisPolarOrientation</a></b>(QAbstractAxis *<i>axis</i>)</td></tr>
</table></div>
<h3>Additional Inherited Members</h3>
<ul>
<li class="fn">14 properties inherited from <a href="qchart.html#properties">QChart</a></li>
<li class="fn">1 signal inherited from <a href="qchart.html#signals">QChart</a></li>
</ul>
<a name="details"></a>
<!-- $$$QPolarChart-description -->
<div class="descr">
<h2 id="details">Detailed Description</h2>
<p>The <a href="qpolarchart.html">QPolarChart</a> presents data in polar charts.</p>
<p>Polar charts present data in a circular graph, where the placement of data is based on the angle and distance from the center of the graph, the <i>pole</i>.</p>
<p class="centerAlign"><img src="images/examples_polarchart.png" alt="" /></p><p>A polar chart is a specialization of <a href="qchart.html">QChart</a> that supports line, spline, area, and scatter series, and all axis types supported by them. Each axis can be used either as a radial or an angular axis.</p>
<p>The first and last tick mark on an angular <a href="qvalueaxis.html">QValueAxis</a> are co-located at a 0/360 degree angle.</p>
<p>If the angular distance between two consecutive points in a series is more than 180 degrees, any direct line connecting the two points becomes meaningless, and will not be drawn. Instead, a line will be drawn to and from the center of the chart. Therefore, the axis ranges must be chosen accordingly when displaying line, spline, or area series.</p>
<p>Polar charts draw all axes of the same orientation in the same position, so using multiple axes of the same orientation can be confusing, unless the extra axes are only used to customize the grid. For example, you can display a highlighted range with a secondary shaded <a href="qcategoryaxis.html">QCategoryAxis</a> or provide unlabeled subticks with a secondary <a href="qvalueaxis.html">QValueAxis</a> thas has hidden labels.</p>
</div>
<p><b>See also </b><a href="qchart.html">QChart</a>.</p>
<!-- @@@QPolarChart -->
<div class="types">
<h2>Member Type Documentation</h2>
<!-- $$$PolarOrientation$$$PolarOrientationRadial$$$PolarOrientationAngular -->
<h3 class="flags" id="PolarOrientation-enum"><a name="PolarOrientation-enum"></a>enum QPolarChart::<span class="name">PolarOrientation</span><br/>flags QPolarChart::<span class="name">PolarOrientations</span></h3>
<p>This enum type specifies the polar orientation of an axis.</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>QPolarChart::PolarOrientationRadial</code></td><td class="topAlign tblval"><code>0x1</code></td><td class="topAlign">A radial axis, where the values are placed along the radius of the chart, starting at the pole.</td></tr>
<tr><td class="topAlign"><code>QPolarChart::PolarOrientationAngular</code></td><td class="topAlign tblval"><code>0x2</code></td><td class="topAlign">An angular axis, where the values are placed around the chart.</td></tr>
</table></div>
<p>The PolarOrientations type is a typedef for <a href="">QFlags</a>&lt;PolarOrientation&gt;. It stores an OR combination of PolarOrientation values.</p>
<!-- @@@PolarOrientation -->
</div>
<div class="func">
<h2>Member Function Documentation</h2>
<!-- $$$QPolarChart[overload1]$$$QPolarChartQGraphicsItem*Qt::WindowFlags -->
<h3 class="fn" id="QPolarChart"><a name="QPolarChart"></a>QPolarChart::<span class="name">QPolarChart</span>(<span class="type">QGraphicsItem</span> *<i>parent</i> = Q_NULLPTR, <span class="type">Qt::WindowFlags</span> <i>wFlags</i> = Qt::WindowFlags())</h3>
<p>Constructs a polar chart as a child of <i>parent</i>. The properties specified by <i>wFlags</i> are passed to the <a href="qchart.html">QChart</a> constructor.</p>
<!-- @@@QPolarChart -->
<!-- $$$~QPolarChart[overload1]$$$~QPolarChart -->
<h3 class="fn" id="dtor.QPolarChart"><a name="dtor.QPolarChart"></a>QPolarChart::<span class="name">~QPolarChart</span>()</h3>
<p>Deletes the polar chart object and its children, such as the series and axis objects added to it.</p>
<!-- @@@~QPolarChart -->
<!-- $$$addAxis[overload1]$$$addAxisQAbstractAxis*PolarOrientation -->
<h3 class="fn" id="addAxis"><a name="addAxis"></a><span class="type">void</span> QPolarChart::<span class="name">addAxis</span>(<span class="type"><a href="qabstractaxis.html">QAbstractAxis</a></span> *<i>axis</i>, <span class="type"><a href="qpolarchart.html#PolarOrientation-enum">PolarOrientation</a></span> <i>polarOrientation</i>)</h3>
<p>This convenience method adds the axis <i>axis</i> to the polar chart with the polar orientation <i>polarOrientation</i>. The chart takes the ownership of the axis.</p>
<p><b>Note: </b>Axes can be added to a polar chart also with <a href="qchart.html#addAxis">QChart::addAxis</a>(). The specified alignment determines the polar orientation: horizontal alignments indicate an angular axis and vertical alignments indicate a radial axis.</p><p><b>See also </b><a href="qchart.html#removeAxis">QChart::removeAxis</a>(), <a href="qchart.html#createDefaultAxes">QChart::createDefaultAxes</a>(), <a href="qabstractseries.html#attachAxis">QAbstractSeries::attachAxis</a>(), and <a href="qchart.html#addAxis">QChart::addAxis</a>().</p>
<!-- @@@addAxis -->
<!-- $$$axes[overload1]$$$axesPolarOrientationsQAbstractSeries* -->
<h3 class="fn" id="axes"><a name="axes"></a><span class="type">QList</span>&lt;<span class="type"><a href="qabstractaxis.html">QAbstractAxis</a></span> *&gt; QPolarChart::<span class="name">axes</span>(<span class="type"><a href="qpolarchart.html#PolarOrientation-enum">PolarOrientations</a></span> <i>polarOrientation</i> = PolarOrientations( PolarOrientationRadial | PolarOrientationAngular ), <span class="type"><a href="qabstractseries.html">QAbstractSeries</a></span> *<i>series</i> = Q_NULLPTR) const</h3>
<p>Returns the axes added for the series <i>series</i> with the polar orientation <i>polarOrientation</i>. If no series is provided, any axis with the specified polar orientation is returned.</p>
<p><b>See also </b><a href="qpolarchart.html#addAxis">addAxis</a>().</p>
<!-- @@@axes -->
<!-- $$$axisPolarOrientation[overload1]$$$axisPolarOrientationQAbstractAxis* -->
<h3 class="fn" id="axisPolarOrientation"><a name="axisPolarOrientation"></a><code>[static] </code><span class="type"><a href="qpolarchart.html#PolarOrientation-enum">PolarOrientation</a></span> QPolarChart::<span class="name">axisPolarOrientation</span>(<span class="type"><a href="qabstractaxis.html">QAbstractAxis</a></span> *<i>axis</i>)</h3>
<p>The angular axes of a polar chart report horizontal orientation and the radial axes report vertical orientation. This function is a convenience function for converting the orientation of the axis <i>axis</i> to the corresponding polar orientation. If the <i>axis</i> is null or not added to a polar chart, the return value is meaningless.</p>
<!-- @@@axisPolarOrientation -->
</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>