Sophie

Sophie

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

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" />
<!-- qxyseries.cpp -->
  <title>QXYSeries 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 >QXYSeries</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="#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="#details">Detailed Description</a></li>
</ul>
</div>
<div class="sidebar-content" id="sidebar-content"></div></div>
<h1 class="title">QXYSeries Class</h1>
<!-- $$$QXYSeries-brief -->
<p>The <a href="qxyseries.html">QXYSeries</a> class is a base class for line, spline, and scatter series. <a href="#details">More...</a></p>
<!-- @@@QXYSeries -->
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> Header:</td><td class="memItemRight bottomAlign">   <span class="preprocessor">#include &lt;QXYSeries&gt;</span>
</td></tr><tr><td class="memItemLeft rightAlign topAlign"> Instantiated By:</td><td class="memItemRight bottomAlign"> <a href="qml-qtcharts-xyseries.html">XYSeries</a></td></tr><tr><td class="memItemLeft rightAlign topAlign"> Inherits:</td><td class="memItemRight bottomAlign"> <a href="qabstractseries.html">QAbstractSeries</a></td></tr><tr><td class="memItemLeft rightAlign topAlign"> Inherited By:</td><td class="memItemRight bottomAlign"> <p><a href="qlineseries.html">QLineSeries</a> and <a href="qscatterseries.html">QScatterSeries</a></p>
</td></tr></table></div><ul>
<li><a href="qxyseries-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="qxyseries.html#color-prop">color</a></b> : QColor</li>
<li class="fn"><b><a href="qxyseries.html#pointLabelsClipping-prop">pointLabelsClipping</a></b> : bool</li>
<li class="fn"><b><a href="qxyseries.html#pointLabelsColor-prop">pointLabelsColor</a></b> : QColor</li>
<li class="fn"><b><a href="qxyseries.html#pointLabelsFont-prop">pointLabelsFont</a></b> : QFont</li>
</ul></td><td class="topAlign"><ul>
<li class="fn"><b><a href="qxyseries.html#pointLabelsFormat-prop">pointLabelsFormat</a></b> : QString</li>
<li class="fn"><b><a href="qxyseries.html#pointLabelsVisible-prop">pointLabelsVisible</a></b> : bool</li>
<li class="fn"><b><a href="qxyseries.html#pointsVisible-prop">pointsVisible</a></b> : bool</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="qxyseries.html#dtor.QXYSeries">~QXYSeries</a></b>()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qxyseries.html#append">append</a></b>(qreal <i>x</i>, qreal <i>y</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qxyseries.html#append-1">append</a></b>(const QPointF &amp;<i>point</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qxyseries.html#append-2">append</a></b>(const QList&lt;QPointF&gt; &amp;<i>points</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> const QPointF &amp;</td><td class="memItemRight bottomAlign"><b><a href="qxyseries.html#at">at</a></b>(int <i>index</i>) const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QBrush </td><td class="memItemRight bottomAlign"><b><a href="qxyseries.html#brush">brush</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qxyseries.html#clear">clear</a></b>()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual QColor </td><td class="memItemRight bottomAlign"><b><a href="qxyseries.html#color-prop">color</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> int </td><td class="memItemRight bottomAlign"><b><a href="qxyseries.html#count">count</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qxyseries.html#insert">insert</a></b>(int <i>index</i>, const QPointF &amp;<i>point</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QPen </td><td class="memItemRight bottomAlign"><b><a href="qxyseries.html#pen">pen</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qxyseries.html#pointLabelsClipping-prop">pointLabelsClipping</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QColor </td><td class="memItemRight bottomAlign"><b><a href="qxyseries.html#pointLabelsColor-prop">pointLabelsColor</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QFont </td><td class="memItemRight bottomAlign"><b><a href="qxyseries.html#pointLabelsFont-prop">pointLabelsFont</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QString </td><td class="memItemRight bottomAlign"><b><a href="qxyseries.html#pointLabelsFormat-prop">pointLabelsFormat</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qxyseries.html#pointLabelsVisible-prop">pointLabelsVisible</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QList&lt;QPointF&gt; </td><td class="memItemRight bottomAlign"><b><a href="qxyseries.html#points">points</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QVector&lt;QPointF&gt; </td><td class="memItemRight bottomAlign"><b><a href="qxyseries.html#pointsVector">pointsVector</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qxyseries.html#pointsVisible-prop">pointsVisible</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qxyseries.html#remove">remove</a></b>(qreal <i>x</i>, qreal <i>y</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qxyseries.html#remove-1">remove</a></b>(const QPointF &amp;<i>point</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qxyseries.html#remove-2">remove</a></b>(int <i>index</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qxyseries.html#removePoints">removePoints</a></b>(int <i>index</i>, int <i>count</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qxyseries.html#replace">replace</a></b>(qreal <i>oldX</i>, qreal <i>oldY</i>, qreal <i>newX</i>, qreal <i>newY</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qxyseries.html#replace-1">replace</a></b>(const QPointF &amp;<i>oldPoint</i>, const QPointF &amp;<i>newPoint</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qxyseries.html#replace-2">replace</a></b>(int <i>index</i>, qreal <i>newX</i>, qreal <i>newY</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qxyseries.html#replace-3">replace</a></b>(int <i>index</i>, const QPointF &amp;<i>newPoint</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qxyseries.html#replace-4">replace</a></b>(QList&lt;QPointF&gt; <i>points</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qxyseries.html#replace-5">replace</a></b>(QVector&lt;QPointF&gt; <i>points</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual void </td><td class="memItemRight bottomAlign"><b><a href="qxyseries.html#setBrush">setBrush</a></b>(const QBrush &amp;<i>brush</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual void </td><td class="memItemRight bottomAlign"><b><a href="qxyseries.html#color-prop">setColor</a></b>(const QColor &amp;<i>color</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual void </td><td class="memItemRight bottomAlign"><b><a href="qxyseries.html#setPen">setPen</a></b>(const QPen &amp;<i>pen</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qxyseries.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="qxyseries.html#pointLabelsColor-prop">setPointLabelsColor</a></b>(const QColor &amp;<i>color</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qxyseries.html#pointLabelsFont-prop">setPointLabelsFont</a></b>(const QFont &amp;<i>font</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qxyseries.html#pointLabelsFormat-prop">setPointLabelsFormat</a></b>(const QString &amp;<i>format</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qxyseries.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="qxyseries.html#pointsVisible-prop">setPointsVisible</a></b>(bool <i>visible</i> = true)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QXYSeries &amp;</td><td class="memItemRight bottomAlign"><b><a href="qxyseries.html#operator-lt-lt">operator&lt;&lt;</a></b>(const QPointF &amp;<i>point</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QXYSeries &amp;</td><td class="memItemRight bottomAlign"><b><a href="qxyseries.html#operator-lt-lt-1">operator&lt;&lt;</a></b>(const QList&lt;QPointF&gt; &amp;<i>points</i>)</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="qxyseries.html#clicked">clicked</a></b>(const QPointF &amp;<i>point</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qxyseries.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="qxyseries.html#doubleClicked">doubleClicked</a></b>(const QPointF &amp;<i>point</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qxyseries.html#hovered">hovered</a></b>(const QPointF &amp;<i>point</i>, bool <i>state</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qxyseries.html#penChanged">penChanged</a></b>(const QPen &amp;<i>pen</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qxyseries.html#pointAdded">pointAdded</a></b>(int <i>index</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qxyseries.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="qxyseries.html#pointLabelsColorChanged">pointLabelsColorChanged</a></b>(const QColor &amp;<i>color</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qxyseries.html#pointLabelsFontChanged">pointLabelsFontChanged</a></b>(const QFont &amp;<i>font</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qxyseries.html#pointLabelsFormatChanged">pointLabelsFormatChanged</a></b>(const QString &amp;<i>format</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qxyseries.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="qxyseries.html#pointRemoved">pointRemoved</a></b>(int <i>index</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qxyseries.html#pointReplaced">pointReplaced</a></b>(int <i>index</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qxyseries.html#pointsRemoved">pointsRemoved</a></b>(int <i>index</i>, int <i>count</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qxyseries.html#pointsReplaced">pointsReplaced</a></b>()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qxyseries.html#pressed">pressed</a></b>(const QPointF &amp;<i>point</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qxyseries.html#released">released</a></b>(const QPointF &amp;<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>
<!-- $$$QXYSeries-description -->
<div class="descr">
<h2 id="details">Detailed Description</h2>
<p>The <a href="qxyseries.html">QXYSeries</a> class is a base class for line, spline, and scatter series.</p>
</div>
<!-- @@@QXYSeries -->
<div class="prop">
<h2>Property Documentation</h2>
<!-- $$$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 color of the series.</p>
<p>This is the line (pen) color in case of <a href="qlineseries.html">QLineSeries</a> or <a href="qsplineseries.html">QSplineSeries</a> and the fill (brush) color in case of <a href="qscatterseries.html">QScatterSeries</a> or <a href="qareaseries.html">QAreaSeries</a>.</p>
<p><b>Access functions:</b></p>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> virtual QColor </td><td class="memItemRight bottomAlign"><span class="name"><b>color</b></span>() const</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> virtual void </td><td class="memItemRight bottomAlign"><span class="name"><b>setColor</b></span>(const QColor &amp;<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="qxyseries.html#colorChanged">colorChanged</a></b></span>(QColor <i>color</i>)</td></tr>
</table></div>
<p><b>See also </b><a href="qxyseries.html#pen">pen</a>() and <a href="qxyseries.html#brush">brush</a>().</p>
<!-- @@@color -->
<!-- $$$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.</p>
<p>This property is <code>true</code> 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="qxyseries.html#pointLabelsClippingChanged">pointLabelsClippingChanged</a></b></span>(bool <i>clipping</i>)</td></tr>
</table></div>
<p><b>See also </b><a href="qxyseries.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 in theme for labels.</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 &amp;<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="qxyseries.html#pointLabelsColorChanged">pointLabelsColorChanged</a></b></span>(const QColor &amp;<i>color</i>)</td></tr>
</table></div>
<p><b>See also </b><a href="qxyseries.html#pointLabelsFormat-prop">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 &amp;<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="qxyseries.html#pointLabelsFontChanged">pointLabelsFontChanged</a></b></span>(const QFont &amp;<i>font</i>)</td></tr>
</table></div>
<p><b>See also </b><a href="qxyseries.html#pointLabelsFormat-prop">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 data points.</p>
<p><a href="qxyseries.html">QXYSeries</a> supports the following format tags:</p>
<div class="table"><table class="generic">
 <tr valign="top" class="odd"><td >@xPoint</td><td >The x-coordinate of the data point.</td></tr>
<tr valign="top" class="even"><td >@yPoint</td><td >The y-coordinate of the data point.</td></tr>
</table></div>
<p>For example, the following usage of the format tags would produce labels that display the data point shown inside brackets separated by a comma (x, y):</p>
<pre class="cpp">

  series<span class="operator">-</span><span class="operator">&gt;</span>setPointLabelsFormat(<span class="string">&quot;(@xPoint, @yPoint)&quot;</span>);

</pre>
<p>By default, the labels' format is set to <code>@xPoint, @yPoint</code>. The labels are shown on the plot area, and the 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 &amp;<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="qxyseries.html#pointLabelsFormatChanged">pointLabelsFormatChanged</a></b></span>(const QString &amp;<i>format</i>)</td></tr>
</table></div>
<p><b>See also </b><a href="qxyseries.html#pointLabelsVisible-prop">pointLabelsVisible</a>, <a href="qxyseries.html#pointLabelsFont-prop">pointLabelsFont</a>, and <a href="qxyseries.html#pointLabelsColor-prop">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.</p>
<p>This property is <code>false</code> 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="qxyseries.html#pointLabelsVisibilityChanged">pointLabelsVisibilityChanged</a></b></span>(bool <i>visible</i>)</td></tr>
</table></div>
<p><b>See also </b><a href="qxyseries.html#pointLabelsFormat-prop">pointLabelsFormat</a> and <a href="qxyseries.html#pointLabelsClipping-prop">pointLabelsClipping</a>.</p>
<!-- @@@pointLabelsVisible -->
<!-- $$$pointsVisible-prop$$$pointsVisible$$$setPointsVisiblebool -->
<h3 class="fn" id="pointsVisible-prop"><a name="pointsVisible-prop"></a><span class="name">pointsVisible</span> : <span class="type">bool</span></h3>
<p>This property holds whether the data points are visible and should be drawn.</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>pointsVisible</b></span>() const</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setPointsVisible</b></span>(bool <i>visible</i> = true)</td></tr>
</table></div>
<!-- @@@pointsVisible -->
</div>
<div class="func">
<h2>Member Function Documentation</h2>
<!-- $$$~QXYSeries[overload1]$$$~QXYSeries -->
<h3 class="fn" id="dtor.QXYSeries"><a name="dtor.QXYSeries"></a>QXYSeries::<span class="name">~QXYSeries</span>()</h3>
<p>Deletes the series. Series added to <a href="qchart.html">QChart</a> instances are owned by them, and are deleted when the <a href="qchart.html">QChart</a> instances are deleted.</p>
<!-- @@@~QXYSeries -->
<!-- $$$append[overload1]$$$appendqrealqreal -->
<h3 class="fn" id="append"><a name="append"></a><span class="type">void</span> QXYSeries::<span class="name">append</span>(<span class="type">qreal</span> <i>x</i>, <span class="type">qreal</span> <i>y</i>)</h3>
<p>Adds the data point with the coordinates <i>x</i> and <i>y</i> to the series.</p>
<!-- @@@append -->
<!-- $$$append$$$appendconstQPointF& -->
<h3 class="fn" id="append-1"><a name="append-1"></a><span class="type">void</span> QXYSeries::<span class="name">append</span>(const <span class="type">QPointF</span> &amp;<i>point</i>)</h3>
<p>This is an overloaded function.</p>
<p>Adds the data point <i>point</i> to the series.</p>
<!-- @@@append -->
<!-- $$$append$$$appendconstQList<QPointF>& -->
<h3 class="fn" id="append-2"><a name="append-2"></a><span class="type">void</span> QXYSeries::<span class="name">append</span>(const <span class="type">QList</span>&lt;<span class="type">QPointF</span>&gt; &amp;<i>points</i>)</h3>
<p>This is an overloaded function.</p>
<p>Adds the list of data points specified by <i>points</i> to the series.</p>
<!-- @@@append -->
<!-- $$$at[overload1]$$$atint -->
<h3 class="fn" id="at"><a name="at"></a>const <span class="type">QPointF</span> &amp;QXYSeries::<span class="name">at</span>(<span class="type">int</span> <i>index</i>) const</h3>
<p>Returns the data point at the position specified by <i>index</i> in the internal points vector.</p>
<!-- @@@at -->
<!-- $$$brush[overload1]$$$brush -->
<h3 class="fn" id="brush"><a name="brush"></a><span class="type">QBrush</span> QXYSeries::<span class="name">brush</span>() const</h3>
<p>Returns the brush used to fill the data points for the series.</p>
<p><b>See also </b><a href="qxyseries.html#setBrush">setBrush</a>().</p>
<!-- @@@brush -->
<!-- $$$clear[overload1]$$$clear -->
<h3 class="fn" id="clear"><a name="clear"></a><span class="type">void</span> QXYSeries::<span class="name">clear</span>()</h3>
<p>Removes all points from the series.</p>
<p><b>See also </b><a href="qxyseries.html#pointsRemoved">pointsRemoved</a>().</p>
<!-- @@@clear -->
<!-- $$$clicked[overload1]$$$clickedconstQPointF& -->
<h3 class="fn" id="clicked"><a name="clicked"></a><code>[signal] </code><span class="type">void</span> QXYSeries::<span class="name">clicked</span>(const <span class="type">QPointF</span> &amp;<i>point</i>)</h3>
<p>This signal is emitted when the user triggers a mouse event by clicking the point <i>point</i> in the chart.</p>
<p><b>See also </b><a href="qxyseries.html#pressed">pressed</a>(), <a href="qxyseries.html#released">released</a>(), and <a href="qxyseries.html#doubleClicked">doubleClicked</a>().</p>
<!-- @@@clicked -->
<!-- $$$colorChanged -->
<h3 class="fn" id="colorChanged"><a name="colorChanged"></a><code>[signal] </code><span class="type">void</span> QXYSeries::<span class="name">colorChanged</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="qxyseries.html#color-prop">color</a>. </p><!-- @@@colorChanged -->
<!-- $$$count[overload1]$$$count -->
<h3 class="fn" id="count"><a name="count"></a><span class="type">int</span> QXYSeries::<span class="name">count</span>() const</h3>
<p>Returns the number of data points in a series.</p>
<!-- @@@count -->
<!-- $$$doubleClicked[overload1]$$$doubleClickedconstQPointF& -->
<h3 class="fn" id="doubleClicked"><a name="doubleClicked"></a><code>[signal] </code><span class="type">void</span> QXYSeries::<span class="name">doubleClicked</span>(const <span class="type">QPointF</span> &amp;<i>point</i>)</h3>
<p>This signal is emitted when the user double-clicks the data point <i>point</i> in the chart. The <i>point</i> is the point where the first press was triggered.</p>
<p><b>See also </b><a href="qxyseries.html#pressed">pressed</a>(), <a href="qxyseries.html#released">released</a>(), and <a href="qxyseries.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> QXYSeries::<span class="name">hovered</span>(const <span class="type">QPointF</span> &amp;<i>point</i>, <span class="type">bool</span> <i>state</i>)</h3>
<p>This signal is emitted when a mouse is hovered over the point <i>point</i> in the chart. When the mouse moves over the point, <i>state</i> turns <code>true</code>, and when the mouse moves away again, it turns <code>false</code>.</p>
<!-- @@@hovered -->
<!-- $$$insert[overload1]$$$insertintconstQPointF& -->
<h3 class="fn" id="insert"><a name="insert"></a><span class="type">void</span> QXYSeries::<span class="name">insert</span>(<span class="type">int</span> <i>index</i>, const <span class="type">QPointF</span> &amp;<i>point</i>)</h3>
<p>Inserts the data point <i>point</i> in the series at the position specified by <i>index</i>.</p>
<p><b>See also </b><a href="qxyseries.html#pointAdded">pointAdded</a>().</p>
<!-- @@@insert -->
<!-- $$$pen[overload1]$$$pen -->
<h3 class="fn" id="pen"><a name="pen"></a><span class="type">QPen</span> QXYSeries::<span class="name">pen</span>() const</h3>
<p>Returns the pen used to draw the outline of the data points for the series.</p>
<p><b>See also </b><a href="qxyseries.html#setPen">setPen</a>().</p>
<!-- @@@pen -->
<!-- $$$penChanged[overload1]$$$penChangedconstQPen& -->
<h3 class="fn" id="penChanged"><a name="penChanged"></a><code>[signal] </code><span class="type">void</span> QXYSeries::<span class="name">penChanged</span>(const <span class="type">QPen</span> &amp;<i>pen</i>)</h3>
<p>This signal is emitted when the pen changes to <i>pen</i>.</p>
<!-- @@@penChanged -->
<!-- $$$pointAdded[overload1]$$$pointAddedint -->
<h3 class="fn" id="pointAdded"><a name="pointAdded"></a><code>[signal] </code><span class="type">void</span> QXYSeries::<span class="name">pointAdded</span>(<span class="type">int</span> <i>index</i>)</h3>
<p>This signal is emitted when a point is added at the position specified by <i>index</i>.</p>
<p><b>See also </b><a href="qxyseries.html#append">append</a>() and <a href="qxyseries.html#insert">insert</a>().</p>
<!-- @@@pointAdded -->
<!-- $$$pointLabelsClippingChanged -->
<h3 class="fn" id="pointLabelsClippingChanged"><a name="pointLabelsClippingChanged"></a><code>[signal] </code><span class="type">void</span> QXYSeries::<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="qxyseries.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> QXYSeries::<span class="name">pointLabelsColorChanged</span>(const <span class="type">QColor</span> &amp;<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="qxyseries.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> QXYSeries::<span class="name">pointLabelsFontChanged</span>(const <span class="type">QFont</span> &amp;<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="qxyseries.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> QXYSeries::<span class="name">pointLabelsFormatChanged</span>(const <span class="type">QString</span> &amp;<i>format</i>)</h3>
<p>This signal is emitted when the format of data point labels changes to <i>format</i>.</p>
<p><b>Note:</b> Notifier signal for property <a href="qxyseries.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> QXYSeries::<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="qxyseries.html#pointLabelsVisible-prop">pointLabelsVisible</a>. </p><!-- @@@pointLabelsVisibilityChanged -->
<!-- $$$pointRemoved[overload1]$$$pointRemovedint -->
<h3 class="fn" id="pointRemoved"><a name="pointRemoved"></a><code>[signal] </code><span class="type">void</span> QXYSeries::<span class="name">pointRemoved</span>(<span class="type">int</span> <i>index</i>)</h3>
<p>This signal is emitted when a point is removed from the position specified by <i>index</i>.</p>
<p><b>See also </b><a href="qxyseries.html#remove">remove</a>().</p>
<!-- @@@pointRemoved -->
<!-- $$$pointReplaced[overload1]$$$pointReplacedint -->
<h3 class="fn" id="pointReplaced"><a name="pointReplaced"></a><code>[signal] </code><span class="type">void</span> QXYSeries::<span class="name">pointReplaced</span>(<span class="type">int</span> <i>index</i>)</h3>
<p>This signal is emitted when a point is replaced at the position specified by <i>index</i>.</p>
<p><b>See also </b><a href="qxyseries.html#replace">replace</a>().</p>
<!-- @@@pointReplaced -->
<!-- $$$points[overload1]$$$points -->
<h3 class="fn" id="points"><a name="points"></a><span class="type">QList</span>&lt;<span class="type">QPointF</span>&gt; QXYSeries::<span class="name">points</span>() const</h3>
<p>Returns the points in the series as a list. Use <a href="qxyseries.html#pointsVector">pointsVector</a>() for better performance.</p>
<!-- @@@points -->
<!-- $$$pointsRemoved[overload1]$$$pointsRemovedintint -->
<h3 class="fn" id="pointsRemoved"><a name="pointsRemoved"></a><code>[signal] </code><span class="type">void</span> QXYSeries::<span class="name">pointsRemoved</span>(<span class="type">int</span> <i>index</i>, <span class="type">int</span> <i>count</i>)</h3>
<p>This signal is emitted when the number of points specified by <i>count</i> is removed starting at the position specified by <i>index</i>.</p>
<p><b>See also </b><a href="qxyseries.html#removePoints">removePoints</a>() and <a href="qxyseries.html#clear">clear</a>().</p>
<!-- @@@pointsRemoved -->
<!-- $$$pointsReplaced[overload1]$$$pointsReplaced -->
<h3 class="fn" id="pointsReplaced"><a name="pointsReplaced"></a><code>[signal] </code><span class="type">void</span> QXYSeries::<span class="name">pointsReplaced</span>()</h3>
<p>This signal is emitted when all points are replaced with other points.</p>
<p><b>See also </b><a href="qxyseries.html#replace">replace</a>().</p>
<!-- @@@pointsReplaced -->
<!-- $$$pointsVector[overload1]$$$pointsVector -->
<h3 class="fn" id="pointsVector"><a name="pointsVector"></a><span class="type">QVector</span>&lt;<span class="type">QPointF</span>&gt; QXYSeries::<span class="name">pointsVector</span>() const</h3>
<p>Returns the points in the series as a vector. This is more efficient than calling <a href="qxyseries.html#points">points</a>().</p>
<!-- @@@pointsVector -->
<!-- $$$pressed[overload1]$$$pressedconstQPointF& -->
<h3 class="fn" id="pressed"><a name="pressed"></a><code>[signal] </code><span class="type">void</span> QXYSeries::<span class="name">pressed</span>(const <span class="type">QPointF</span> &amp;<i>point</i>)</h3>
<p>This signal is emitted when the user presses the data point <i>point</i> in the chart and holds down the mouse button.</p>
<p><b>See also </b><a href="qxyseries.html#clicked">clicked</a>(), <a href="qxyseries.html#released">released</a>(), and <a href="qxyseries.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> QXYSeries::<span class="name">released</span>(const <span class="type">QPointF</span> &amp;<i>point</i>)</h3>
<p>This signal is emitted when the user releases the mouse press on the data point specified by <i>point</i>.</p>
<p><b>See also </b><a href="qxyseries.html#pressed">pressed</a>(), <a href="qxyseries.html#clicked">clicked</a>(), and <a href="qxyseries.html#doubleClicked">doubleClicked</a>().</p>
<!-- @@@released -->
<!-- $$$remove[overload1]$$$removeqrealqreal -->
<h3 class="fn" id="remove"><a name="remove"></a><span class="type">void</span> QXYSeries::<span class="name">remove</span>(<span class="type">qreal</span> <i>x</i>, <span class="type">qreal</span> <i>y</i>)</h3>
<p>Removes the point that has the coordinates <i>x</i> and <i>y</i> from the series.</p>
<p><b>See also </b><a href="qxyseries.html#pointRemoved">pointRemoved</a>().</p>
<!-- @@@remove -->
<!-- $$$remove$$$removeconstQPointF& -->
<h3 class="fn" id="remove-1"><a name="remove-1"></a><span class="type">void</span> QXYSeries::<span class="name">remove</span>(const <span class="type">QPointF</span> &amp;<i>point</i>)</h3>
<p>Removes the data point <i>point</i> from the series.</p>
<p><b>See also </b><a href="qxyseries.html#pointRemoved">pointRemoved</a>().</p>
<!-- @@@remove -->
<!-- $$$remove$$$removeint -->
<h3 class="fn" id="remove-2"><a name="remove-2"></a><span class="type">void</span> QXYSeries::<span class="name">remove</span>(<span class="type">int</span> <i>index</i>)</h3>
<p>Removes the point at the position specified by <i>index</i> from the series.</p>
<p><b>See also </b><a href="qxyseries.html#pointRemoved">pointRemoved</a>().</p>
<!-- @@@remove -->
<!-- $$$removePoints[overload1]$$$removePointsintint -->
<h3 class="fn" id="removePoints"><a name="removePoints"></a><span class="type">void</span> QXYSeries::<span class="name">removePoints</span>(<span class="type">int</span> <i>index</i>, <span class="type">int</span> <i>count</i>)</h3>
<p>Removes the number of points specified by <i>count</i> from the series starting at the position specified by <i>index</i>.</p>
<p><b>See also </b><a href="qxyseries.html#pointsRemoved">pointsRemoved</a>().</p>
<!-- @@@removePoints -->
<!-- $$$replace[overload1]$$$replaceqrealqrealqrealqreal -->
<h3 class="fn" id="replace"><a name="replace"></a><span class="type">void</span> QXYSeries::<span class="name">replace</span>(<span class="type">qreal</span> <i>oldX</i>, <span class="type">qreal</span> <i>oldY</i>, <span class="type">qreal</span> <i>newX</i>, <span class="type">qreal</span> <i>newY</i>)</h3>
<p>Replaces the point with the coordinates <i>oldX</i> and <i>oldY</i> with the point with the coordinates <i>newX</i> and <i>newY</i>. Does nothing if the old point does not exist.</p>
<p><b>See also </b><a href="qxyseries.html#pointReplaced">pointReplaced</a>().</p>
<!-- @@@replace -->
<!-- $$$replace$$$replaceconstQPointF&constQPointF& -->
<h3 class="fn" id="replace-1"><a name="replace-1"></a><span class="type">void</span> QXYSeries::<span class="name">replace</span>(const <span class="type">QPointF</span> &amp;<i>oldPoint</i>, const <span class="type">QPointF</span> &amp;<i>newPoint</i>)</h3>
<p>Replaces the point specified by <i>oldPoint</i> with the one specified by <i>newPoint</i>.</p>
<p><b>See also </b><a href="qxyseries.html#pointReplaced">pointReplaced</a>().</p>
<!-- @@@replace -->
<!-- $$$replace$$$replaceintqrealqreal -->
<h3 class="fn" id="replace-2"><a name="replace-2"></a><span class="type">void</span> QXYSeries::<span class="name">replace</span>(<span class="type">int</span> <i>index</i>, <span class="type">qreal</span> <i>newX</i>, <span class="type">qreal</span> <i>newY</i>)</h3>
<p>Replaces the point at the position specified by <i>index</i> with the point that has the coordinates <i>newX</i> and <i>newY</i>.</p>
<p><b>See also </b><a href="qxyseries.html#pointReplaced">pointReplaced</a>().</p>
<!-- @@@replace -->
<!-- $$$replace$$$replaceintconstQPointF& -->
<h3 class="fn" id="replace-3"><a name="replace-3"></a><span class="type">void</span> QXYSeries::<span class="name">replace</span>(<span class="type">int</span> <i>index</i>, const <span class="type">QPointF</span> &amp;<i>newPoint</i>)</h3>
<p>Replaces the point at the position specified by <i>index</i> with the point specified by <i>newPoint</i>.</p>
<p><b>See also </b><a href="qxyseries.html#pointReplaced">pointReplaced</a>().</p>
<!-- @@@replace -->
<!-- $$$replace$$$replaceQList<QPointF> -->
<h3 class="fn" id="replace-4"><a name="replace-4"></a><span class="type">void</span> QXYSeries::<span class="name">replace</span>(<span class="type">QList</span>&lt;<span class="type">QPointF</span>&gt; <i>points</i>)</h3>
<p>Replaces the current points with the points specified by <i>points</i>.</p>
<p><b>Note: </b>This is much faster than replacing data points one by one, or first clearing all data, and then appending the new data. Emits <a href="qxyseries.html#pointsReplaced">QXYSeries::pointsReplaced</a>() when the points have been replaced. However, note that using the overload that takes <code>QVector&lt;QPointF&gt;</code> as parameter is faster than using this overload.</p><p><b>See also </b><a href="qxyseries.html#pointsReplaced">pointsReplaced</a>().</p>
<!-- @@@replace -->
<!-- $$$replace$$$replaceQVector<QPointF> -->
<h3 class="fn" id="replace-5"><a name="replace-5"></a><span class="type">void</span> QXYSeries::<span class="name">replace</span>(<span class="type">QVector</span>&lt;<span class="type">QPointF</span>&gt; <i>points</i>)</h3>
<p>Replaces the current points with the points specified by <i>points</i>.</p>
<p><b>Note: </b>This is much faster than replacing data points one by one, or first clearing all data, and then appending the new data. Emits <a href="qxyseries.html#pointsReplaced">QXYSeries::pointsReplaced</a>() when the points have been replaced.</p><p><b>See also </b><a href="qxyseries.html#pointsReplaced">pointsReplaced</a>().</p>
<!-- @@@replace -->
<!-- $$$setBrush[overload1]$$$setBrushconstQBrush& -->
<h3 class="fn" id="setBrush"><a name="setBrush"></a><code>[virtual] </code><span class="type">void</span> QXYSeries::<span class="name">setBrush</span>(const <span class="type">QBrush</span> &amp;<i>brush</i>)</h3>
<p>Sets the brush used for drawing points on the chart to <i>brush</i>. If the brush is not defined, the brush from the chart theme setting is used.</p>
<p><b>See also </b><a href="qxyseries.html#brush">brush</a>() and <a href="qchart.html#theme-prop">QChart::setTheme</a>().</p>
<!-- @@@setBrush -->
<!-- $$$setPen[overload1]$$$setPenconstQPen& -->
<h3 class="fn" id="setPen"><a name="setPen"></a><code>[virtual] </code><span class="type">void</span> QXYSeries::<span class="name">setPen</span>(const <span class="type">QPen</span> &amp;<i>pen</i>)</h3>
<p>Sets the pen used for drawing points on the chart to <i>pen</i>. If the pen is not defined, the pen from the chart theme is used.</p>
<p><b>See also </b><a href="qxyseries.html#pen">pen</a>() and <a href="qchart.html#theme-prop">QChart::setTheme</a>().</p>
<!-- @@@setPen -->
<!-- $$$operator<<[overload1]$$$operator<<constQPointF& -->
<h3 class="fn" id="operator-lt-lt"><a name="operator-lt-lt"></a><span class="type">QXYSeries</span> &amp;QXYSeries::<span class="name">operator&lt;&lt;</span>(const <span class="type">QPointF</span> &amp;<i>point</i>)</h3>
<p>Stream operator for adding the data point <i>point</i> to the series.</p>
<p><b>See also </b><a href="qxyseries.html#append">append</a>().</p>
<!-- @@@operator<< -->
<!-- $$$operator<<$$$operator<<constQList<QPointF>& -->
<h3 class="fn" id="operator-lt-lt-1"><a name="operator-lt-lt-1"></a><span class="type">QXYSeries</span> &amp;QXYSeries::<span class="name">operator&lt;&lt;</span>(const <span class="type">QList</span>&lt;<span class="type">QPointF</span>&gt; &amp;<i>points</i>)</h3>
<p>Stream operator for adding the list of data points specified by <i>points</i> to the series.</p>
<p><b>See also </b><a href="qxyseries.html#append">append</a>().</p>
<!-- @@@operator<< -->
</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>