Sophie

Sophie

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

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>XYSeries QML Type | 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="qtcharts-qmlmodule.html">QML Types</a></td><td >XYSeries QML Type</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="#signals">Signals</a></li>
<li class="level1"><a href="#methods">Methods</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">XYSeries QML Type</h1>
<span class="subtitle"></span>
<!-- $$$XYSeries-brief -->
<p>A base type for line, spline, and scatter series. <a href="#details">More...</a></p>
<!-- @@@XYSeries -->
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> Import Statement:</td><td class="memItemRight bottomAlign"> import QtCharts 2.2</td></tr><tr><td class="memItemLeft rightAlign topAlign"> Instantiates:</td><td class="memItemRight bottomAlign"> <a href="qml-qtcharts-xyseries.html"><a href="qxyseries.html">QXYSeries</a></td></tr><tr><td class="memItemLeft rightAlign topAlign"> Inherits:</td><td class="memItemRight bottomAlign"> <p><a href="qml-qtcharts-abstractseries.html">AbstractSeries</a></p>
</td></tr><tr><td class="memItemLeft rightAlign topAlign"> Inherited By:</td><td class="memItemRight bottomAlign"> <p><a href="qml-qtcharts-lineseries.html">LineSeries</a>, <a href="qml-qtcharts-scatterseries.html">ScatterSeries</a>, and <a href="qml-qtcharts-splineseries.html">SplineSeries</a></p>
</td></tr></table></div><ul>
<li><a href="qml-qtcharts-xyseries-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><b><a href="qml-qtcharts-xyseries.html#axisAngular-prop">axisAngular</a></b></b> : AbstractAxis</li>
<li class="fn"><b><b><a href="qml-qtcharts-xyseries.html#axisRadial-prop">axisRadial</a></b></b> : AbstractAxis</li>
<li class="fn"><b><b><a href="qml-qtcharts-xyseries.html#axisX-prop">axisX</a></b></b> : AbstractAxis</li>
<li class="fn"><b><b><a href="qml-qtcharts-xyseries.html#axisXTop-prop">axisXTop</a></b></b> : AbstractAxis</li>
<li class="fn"><b><b><a href="qml-qtcharts-xyseries.html#axisY-prop">axisY</a></b></b> : AbstractAxis</li>
<li class="fn"><b><b><a href="qml-qtcharts-xyseries.html#axisYRight-prop">axisYRight</a></b></b> : AbstractAxis</li>
<li class="fn"><b><b><a href="qml-qtcharts-xyseries.html#color-prop">color</a></b></b> : color</li>
<li class="fn"><b><b><a href="qml-qtcharts-xyseries.html#pointLabelsClipping-prop">pointLabelsClipping</a></b></b> : bool</li>
<li class="fn"><b><b><a href="qml-qtcharts-xyseries.html#pointLabelsColor-prop">pointLabelsColor</a></b></b> : font</li>
<li class="fn"><b><b><a href="qml-qtcharts-xyseries.html#pointLabelsFont-prop">pointLabelsFont</a></b></b> : font</li>
<li class="fn"><b><b><a href="qml-qtcharts-xyseries.html#pointLabelsFormat-prop">pointLabelsFormat</a></b></b> : string</li>
<li class="fn"><b><b><a href="qml-qtcharts-xyseries.html#pointLabelsVisible-prop">pointLabelsVisible</a></b></b> : bool</li>
<li class="fn"><b><b><a href="qml-qtcharts-xyseries.html#pointsVisible-prop">pointsVisible</a></b></b> : bool</li>
</ul>
<a name="signals"></a>
<h2 id="signals">Signals</h2>
<ul>
<li class="fn"><b><b><a href="qml-qtcharts-xyseries.html#clicked-signal">clicked</a></b></b>(point <i>point</i>)</li>
<li class="fn"><b><b><a href="qml-qtcharts-xyseries.html#doubleClicked-signal">doubleClicked</a></b></b>(point <i>point</i>)</li>
<li class="fn"><b><b><a href="qml-qtcharts-xyseries.html#hovered-signal">hovered</a></b></b>(point <i>point</i>, bool <i>state</i>)</li>
<li class="fn"><b><b><a href="qml-qtcharts-xyseries.html#pointAdded-signal">pointAdded</a></b></b>(int <i>index</i>)</li>
<li class="fn"><b><b><a href="qml-qtcharts-xyseries.html#pointRemoved-signal">pointRemoved</a></b></b>(int <i>index</i>)</li>
<li class="fn"><b><b><a href="qml-qtcharts-xyseries.html#pointReplaced-signal">pointReplaced</a></b></b>(int <i>index</i>)</li>
<li class="fn"><b><b><a href="qml-qtcharts-xyseries.html#pointsRemoved-signal">pointsRemoved</a></b></b>(int <i>index</i>, int <i>count</i>)</li>
<li class="fn"><b><b><a href="qml-qtcharts-xyseries.html#pointsReplaced-signal">pointsReplaced</a></b></b>()</li>
<li class="fn"><b><b><a href="qml-qtcharts-xyseries.html#pressed-signal">pressed</a></b></b>(point <i>point</i>)</li>
<li class="fn"><b><b><a href="qml-qtcharts-xyseries.html#released-signal">released</a></b></b>(point <i>point</i>)</li>
</ul>
<a name="methods"></a>
<h2 id="methods">Methods</h2>
<ul>
<li class="fn"><b><b><a href="qml-qtcharts-xyseries.html#append-method">append</a></b></b>(real <i>x</i>, real <i>y</i>)</li>
<li class="fn">QPointF <b><b><a href="qml-qtcharts-xyseries.html#at-method">at</a></b></b>(int <i>index</i>)</li>
<li class="fn"><b><b><a href="qml-qtcharts-xyseries.html#insert-method">insert</a></b></b>(int <i>index</i>, real <i>x</i>, real <i>y</i>)</li>
<li class="fn"><b><b><a href="qml-qtcharts-xyseries.html#remove-method-1">remove</a></b></b>(int <i>index</i>)</li>
<li class="fn"><b><b><a href="qml-qtcharts-xyseries.html#remove-method">remove</a></b></b>(real <i>x</i>, real <i>y</i>)</li>
<li class="fn"><b><b><a href="qml-qtcharts-xyseries.html#removePoints-method">removePoints</a></b></b>(int <i>index</i>, int <i>count</i>)</li>
<li class="fn"><b><b><a href="qml-qtcharts-xyseries.html#replace-method">replace</a></b></b>(real <i>oldX</i>, real <i>oldY</i>, real <i>newX</i>, real <i>newY</i>)</li>
</ul>
<!-- $$$XYSeries-description -->
<a name="details"></a>
<h2 id="details">Detailed Description</h2>
<!-- @@@XYSeries -->
<h2>Property Documentation</h2>
<!-- $$$axisAngular -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="axisAngular-prop">
<td class="tblQmlPropNode"><p>
<a name="axisAngular-prop"></a><span class="name">axisAngular</span> : <span class="type"><a href="qml-qtcharts-abstractaxis.html">AbstractAxis</a></span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>The angular axis used for the series, drawn around the polar chart view.</p>
<p><b>See also </b><a href="qml-qtcharts-xyseries.html#axisX-prop">axisX</a>.</p>
</div></div><!-- @@@axisAngular -->
<br/>
<!-- $$$axisRadial -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="axisRadial-prop">
<td class="tblQmlPropNode"><p>
<a name="axisRadial-prop"></a><span class="name">axisRadial</span> : <span class="type"><a href="qml-qtcharts-abstractaxis.html">AbstractAxis</a></span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>The radial axis used for the series, drawn inside the polar chart view.</p>
<p><b>See also </b><a href="qml-qtcharts-xyseries.html#axisY-prop">axisY</a>.</p>
</div></div><!-- @@@axisRadial -->
<br/>
<!-- $$$axisX -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="axisX-prop">
<td class="tblQmlPropNode"><p>
<a name="axisX-prop"></a><span class="name">axisX</span> : <span class="type"><a href="qml-qtcharts-abstractaxis.html">AbstractAxis</a></span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>The x-axis used for the series. If you leave both axisX and <a href="qml-qtcharts-xyseries.html#axisXTop-prop">axisXTop</a> undefined, a value axis is created for the series.</p>
<p><b>See also </b><a href="qml-qtcharts-xyseries.html#axisXTop-prop">axisXTop</a> and <a href="qml-qtcharts-valueaxis.html">ValueAxis</a>.</p>
</div></div><!-- @@@axisX -->
<br/>
<!-- $$$axisXTop -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="axisXTop-prop">
<td class="tblQmlPropNode"><p>
<a name="axisXTop-prop"></a><span class="name">axisXTop</span> : <span class="type"><a href="qml-qtcharts-abstractaxis.html">AbstractAxis</a></span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>The x-axis used for the series, drawn on top of the chart view.</p>
<p><b>Note: </b>You can only provide either <a href="qml-qtcharts-xyseries.html#axisX-prop">axisX</a> or axisXTop, not both.</p><p><b>See also </b><a href="qml-qtcharts-xyseries.html#axisX-prop">axisX</a>.</p>
</div></div><!-- @@@axisXTop -->
<br/>
<!-- $$$axisY -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="axisY-prop">
<td class="tblQmlPropNode"><p>
<a name="axisY-prop"></a><span class="name">axisY</span> : <span class="type"><a href="qml-qtcharts-abstractaxis.html">AbstractAxis</a></span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>The y-axis used for the series. If you leave both axisY and <a href="qml-qtcharts-xyseries.html#axisYRight-prop">axisYRight</a> undefined, a value axis is created for the series.</p>
<p><b>See also </b><a href="qml-qtcharts-xyseries.html#axisYRight-prop">axisYRight</a> and <a href="qml-qtcharts-valueaxis.html">ValueAxis</a>.</p>
</div></div><!-- @@@axisY -->
<br/>
<!-- $$$axisYRight -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="axisYRight-prop">
<td class="tblQmlPropNode"><p>
<a name="axisYRight-prop"></a><span class="name">axisYRight</span> : <span class="type"><a href="qml-qtcharts-abstractaxis.html">AbstractAxis</a></span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>The y-axis used for the series, drawn to the right on the chart view.</p>
<p><b>Note: </b>You can only provide either <a href="qml-qtcharts-xyseries.html#axisY-prop">axisY</a> or axisYRight, not both.</p><p><b>See also </b><a href="qml-qtcharts-xyseries.html#axisY-prop">axisY</a>.</p>
</div></div><!-- @@@axisYRight -->
<br/>
<!-- $$$color -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="color-prop">
<td class="tblQmlPropNode"><p>
<a name="color-prop"></a><span class="name">color</span> : <span class="type">color</span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>The color of the series. This is the line (pen) color in case of <a href="qml-qtcharts-lineseries.html">LineSeries</a> or <a href="qml-qtcharts-splineseries.html">SplineSeries</a> and the fill (brush) color in case of <a href="qml-qtcharts-scatterseries.html">ScatterSeries</a> or <a href="qml-qtcharts-areaseries.html">AreaSeries</a>.</p>
</div></div><!-- @@@color -->
<br/>
<!-- $$$pointLabelsClipping -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="pointLabelsClipping-prop">
<td class="tblQmlPropNode"><p>
<a name="pointLabelsClipping-prop"></a><span class="name">pointLabelsClipping</span> : <span class="type">bool</span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>The clipping for data point labels. 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>See also </b><a href="qml-qtcharts-xyseries.html#pointLabelsVisible-prop">pointLabelsVisible</a>.</p>
</div></div><!-- @@@pointLabelsClipping -->
<br/>
<!-- $$$pointLabelsColor -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="pointLabelsColor-prop">
<td class="tblQmlPropNode"><p>
<a name="pointLabelsColor-prop"></a><span class="name">pointLabelsColor</span> : <span class="type">font</span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>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>See also </b><a href="qml-qtcharts-xyseries.html#pointLabelsFormat-prop">pointLabelsFormat</a>.</p>
</div></div><!-- @@@pointLabelsColor -->
<br/>
<!-- $$$pointLabelsFont -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="pointLabelsFont-prop">
<td class="tblQmlPropNode"><p>
<a name="pointLabelsFont-prop"></a><span class="name">pointLabelsFont</span> : <span class="type">font</span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>The font used for data point labels.</p>
<p><b>See also </b><a href="qml-qtcharts-xyseries.html#pointLabelsFormat-prop">pointLabelsFormat</a>.</p>
</div></div><!-- @@@pointLabelsFont -->
<br/>
<!-- $$$pointLabelsFormat -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="pointLabelsFormat-prop">
<td class="tblQmlPropNode"><p>
<a name="pointLabelsFormat-prop"></a><span class="name">pointLabelsFormat</span> : <span class="type">string</span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>The format used for showing labels with data points.</p>
<p><b>See also </b><a href="qml-qtcharts-xyseries.html#pointLabelsVisible-prop">pointLabelsVisible</a>, <a href="qml-qtcharts-xyseries.html#pointLabelsFont-prop">pointLabelsFont</a>, and <a href="qml-qtcharts-xyseries.html#pointLabelsColor-prop">pointLabelsColor</a>.</p>
</div></div><!-- @@@pointLabelsFormat -->
<br/>
<!-- $$$pointLabelsVisible -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="pointLabelsVisible-prop">
<td class="tblQmlPropNode"><p>
<a name="pointLabelsVisible-prop"></a><span class="name">pointLabelsVisible</span> : <span class="type">bool</span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>The visibility of data point labels. This property is <code>false</code> by default.</p>
<p><b>See also </b><a href="qml-qtcharts-xyseries.html#pointLabelsFormat-prop">pointLabelsFormat</a> and <a href="qml-qtcharts-xyseries.html#pointLabelsClipping-prop">pointLabelsClipping</a>.</p>
</div></div><!-- @@@pointLabelsVisible -->
<br/>
<!-- $$$pointsVisible -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="pointsVisible-prop">
<td class="tblQmlPropNode"><p>
<a name="pointsVisible-prop"></a><span class="name">pointsVisible</span> : <span class="type">bool</span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>Whether the data points are visible and should be drawn.</p>
</div></div><!-- @@@pointsVisible -->
<br/>
<h2>Signal Documentation</h2>
<!-- $$$clicked -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="clicked-signal">
<td class="tblQmlFuncNode"><p>
<a name="clicked-signal"></a><span class="name">clicked</span>(<span class="type">point</span> <i>point</i>)</p></td></tr>
</table></div>
</div><div class="qmldoc"><p>This signal is emitted when the user triggers a mouse event by clicking the point <i>point</i> in the chart. For example:</p>
<pre class="cpp">

  LineSeries {
      XYPoint { x: <span class="number">0</span>; y: <span class="number">0</span> }
      XYPoint { x: <span class="number">1.1</span>; y: <span class="number">2.1</span> }
      onClicked: console<span class="operator">.</span>log(<span class="string">&quot;onClicked: &quot;</span> <span class="operator">+</span> point<span class="operator">.</span>x <span class="operator">+</span> <span class="string">&quot;, &quot;</span> <span class="operator">+</span> point<span class="operator">.</span>y);
  }

</pre>
<p>The corresponding signal handler is <code>onClicked()</code>.</p>
<p><b>See also </b><a href="qml-qtcharts-xyseries.html#pressed-signal">pressed()</a>, <a href="qml-qtcharts-xyseries.html#released-signal">released()</a>, and <a href="qml-qtcharts-xyseries.html#doubleClicked-signal">doubleClicked()</a>.</p>
</div></div><!-- @@@clicked -->
<br/>
<!-- $$$doubleClicked -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="doubleClicked-signal">
<td class="tblQmlFuncNode"><p>
<a name="doubleClicked-signal"></a><span class="name">doubleClicked</span>(<span class="type">point</span> <i>point</i>)</p></td></tr>
</table></div>
</div><div class="qmldoc"><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. For example:</p>
<pre class="cpp">

  LineSeries {
      XYPoint { x: <span class="number">0</span>; y: <span class="number">0</span> }
      XYPoint { x: <span class="number">1.1</span>; y: <span class="number">2.1</span> }
      onDoubleClicked: console<span class="operator">.</span>log(<span class="string">&quot;onDoubleClicked: &quot;</span> <span class="operator">+</span> point<span class="operator">.</span>x <span class="operator">+</span> <span class="string">&quot;, &quot;</span> <span class="operator">+</span> point<span class="operator">.</span>y);
  }

</pre>
<p>The corresponding signal handler is <code>onDoubleClicked()</code>.</p>
<p><b>See also </b><a href="qml-qtcharts-xyseries.html#pressed-signal">pressed()</a>, <a href="qml-qtcharts-xyseries.html#released-signal">released()</a>, and <a href="qml-qtcharts-xyseries.html#clicked-signal">clicked()</a>.</p>
</div></div><!-- @@@doubleClicked -->
<br/>
<!-- $$$hovered -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="hovered-signal">
<td class="tblQmlFuncNode"><p>
<a name="hovered-signal"></a><span class="name">hovered</span>(<span class="type">point</span> <i>point</i>, <span class="type">bool</span> <i>state</i>)</p></td></tr>
</table></div>
</div><div class="qmldoc"><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>
<p>The corresponding signal handler is <code>onHovered()</code>.</p>
</div></div><!-- @@@hovered -->
<br/>
<!-- $$$pointAdded -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="pointAdded-signal">
<td class="tblQmlFuncNode"><p>
<a name="pointAdded-signal"></a><span class="name">pointAdded</span>(<span class="type">int</span> <i>index</i>)</p></td></tr>
</table></div>
</div><div class="qmldoc"><p>This signal is emitted when a point is added at the position specified by <i>index</i>.</p>
<p>The corresponding signal handler is <code>onPointAdded()</code>.</p>
</div></div><!-- @@@pointAdded -->
<br/>
<!-- $$$pointRemoved -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="pointRemoved-signal">
<td class="tblQmlFuncNode"><p>
<a name="pointRemoved-signal"></a><span class="name">pointRemoved</span>(<span class="type">int</span> <i>index</i>)</p></td></tr>
</table></div>
</div><div class="qmldoc"><p>This signal is emitted when a point is removed from the position specified by <i>index</i>.</p>
<p>The corresponding signal handler is <code>onPointRemoved()</code>.</p>
</div></div><!-- @@@pointRemoved -->
<br/>
<!-- $$$pointReplaced -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="pointReplaced-signal">
<td class="tblQmlFuncNode"><p>
<a name="pointReplaced-signal"></a><span class="name">pointReplaced</span>(<span class="type">int</span> <i>index</i>)</p></td></tr>
</table></div>
</div><div class="qmldoc"><p>This signal is emitted when a point is replaced at the position specified by <i>index</i>.</p>
<p>The corresponding signal handler is <code>onPointReplaced()</code>.</p>
</div></div><!-- @@@pointReplaced -->
<br/>
<!-- $$$pointsRemoved -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="pointsRemoved-signal">
<td class="tblQmlFuncNode"><p>
<a name="pointsRemoved-signal"></a><span class="name">pointsRemoved</span>(<span class="type">int</span> <i>index</i>, <span class="type">int</span> <i>count</i>)</p></td></tr>
</table></div>
</div><div class="qmldoc"><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>The corresponding signal handler is <code>onPointRemoved()</code>.</p>
</div></div><!-- @@@pointsRemoved -->
<br/>
<!-- $$$pointsReplaced -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="pointsReplaced-signal">
<td class="tblQmlFuncNode"><p>
<a name="pointsReplaced-signal"></a><span class="name">pointsReplaced</span>()</p></td></tr>
</table></div>
</div><div class="qmldoc"><p>This signal is emitted when all points are replaced with other points.</p>
<p>The corresponding signal handler is <code>onPointsReplaced()</code>.</p>
</div></div><!-- @@@pointsReplaced -->
<br/>
<!-- $$$pressed -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="pressed-signal">
<td class="tblQmlFuncNode"><p>
<a name="pressed-signal"></a><span class="name">pressed</span>(<span class="type">point</span> <i>point</i>)</p></td></tr>
</table></div>
</div><div class="qmldoc"><p>This signal is emitted when the user presses the data point <i>point</i> in the chart and holds down the mouse button. For example:</p>
<pre class="cpp">

  LineSeries {
      XYPoint { x: <span class="number">0</span>; y: <span class="number">0</span> }
      XYPoint { x: <span class="number">1.1</span>; y: <span class="number">2.1</span> }
      onPressed: console<span class="operator">.</span>log(<span class="string">&quot;onPressed: &quot;</span> <span class="operator">+</span> point<span class="operator">.</span>x <span class="operator">+</span> <span class="string">&quot;, &quot;</span> <span class="operator">+</span> point<span class="operator">.</span>y);
  }

</pre>
<p>The corresponding signal handler is <code>onPressed()</code>.</p>
<p><b>See also </b><a href="qml-qtcharts-xyseries.html#clicked-signal">clicked()</a>, <a href="qml-qtcharts-xyseries.html#released-signal">released()</a>, and <a href="qml-qtcharts-xyseries.html#doubleClicked-signal">doubleClicked()</a>.</p>
</div></div><!-- @@@pressed -->
<br/>
<!-- $$$released -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="released-signal">
<td class="tblQmlFuncNode"><p>
<a name="released-signal"></a><span class="name">released</span>(<span class="type">point</span> <i>point</i>)</p></td></tr>
</table></div>
</div><div class="qmldoc"><p>This signal is emitted when the user releases the mouse press on the data point specified by <i>point</i>. For example:</p>
<pre class="cpp">

  LineSeries {
      XYPoint { x: <span class="number">0</span>; y: <span class="number">0</span> }
      XYPoint { x: <span class="number">1.1</span>; y: <span class="number">2.1</span> }
      onReleased: console<span class="operator">.</span>log(<span class="string">&quot;onReleased: &quot;</span> <span class="operator">+</span> point<span class="operator">.</span>x <span class="operator">+</span> <span class="string">&quot;, &quot;</span> <span class="operator">+</span> point<span class="operator">.</span>y);
  }

</pre>
<p>The corresponding signal handler is <code>onReleased()</code>.</p>
<p><b>See also </b><a href="qml-qtcharts-xyseries.html#pressed-signal">pressed()</a>, <a href="qml-qtcharts-xyseries.html#clicked-signal">clicked()</a>, and <a href="qml-qtcharts-xyseries.html#doubleClicked-signal">doubleClicked()</a>.</p>
</div></div><!-- @@@released -->
<br/>
<h2>Method Documentation</h2>
<!-- $$$append -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="append-method">
<td class="tblQmlFuncNode"><p>
<a name="append-method"></a><span class="name">append</span>(<span class="type">real</span> <i>x</i>, <span class="type">real</span> <i>y</i>)</p></td></tr>
</table></div>
</div><div class="qmldoc"><p>Appends a point with the coordinates <i>x</i> and <i>y</i> to the series.</p>
</div></div><!-- @@@append -->
<br/>
<!-- $$$at -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="at-method">
<td class="tblQmlFuncNode"><p>
<a name="at-method"></a><span class="type">QPointF</span> <span class="name">at</span>(<span class="type">int</span> <i>index</i>)</p></td></tr>
</table></div>
</div><div class="qmldoc"><p>Returns the point at the position specified by <i>index</i>. Returns (0, 0) if the index is not valid.</p>
</div></div><!-- @@@at -->
<br/>
<!-- $$$insert -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="insert-method">
<td class="tblQmlFuncNode"><p>
<a name="insert-method"></a><span class="name">insert</span>(<span class="type">int</span> <i>index</i>, <span class="type">real</span> <i>x</i>, <span class="type">real</span> <i>y</i>)</p></td></tr>
</table></div>
</div><div class="qmldoc"><p>Inserts a point with the coordinates <i>x</i> and <i>y</i> to the position specified by <i>index</i> in the series. If the index is 0 or less than 0, the point is prepended to the list of points. If the index is equal to or greater than than the number of points in the series, the point is appended to the list of points.</p>
</div></div><!-- @@@insert -->
<br/>
<!-- $$$remove -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="remove-method-1">
<td class="tblQmlFuncNode"><p>
<a name="remove-method-1"></a><span class="name">remove</span>(<span class="type">int</span> <i>index</i>)</p></td></tr>
</table></div>
</div><div class="qmldoc"><p>Removes the point at the position specified by <i>index</i> from the series.</p>
</div></div><!-- @@@remove -->
<br/>
<!-- $$$remove -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="remove-method">
<td class="tblQmlFuncNode"><p>
<a name="remove-method"></a><span class="name">remove</span>(<span class="type">real</span> <i>x</i>, <span class="type">real</span> <i>y</i>)</p></td></tr>
</table></div>
</div><div class="qmldoc"><p>Removes the point with the coordinates <i>x</i> and <i>y</i> from the series. Does nothing if the point does not exist.</p>
</div></div><!-- @@@remove -->
<br/>
<!-- $$$removePoints -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="removePoints-method">
<td class="tblQmlFuncNode"><p>
<a name="removePoints-method"></a><span class="name">removePoints</span>(<span class="type">int</span> <i>index</i>, <span class="type">int</span> <i>count</i>)</p></td></tr>
</table></div>
</div><div class="qmldoc"><p>Removes the number of points specified by <i>count</i> from the series starting at the position specified by <i>index</i>.</p>
</div></div><!-- @@@removePoints -->
<br/>
<!-- $$$replace -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="replace-method">
<td class="tblQmlFuncNode"><p>
<a name="replace-method"></a><span class="name">replace</span>(<span class="type">real</span> <i>oldX</i>, <span class="type">real</span> <i>oldY</i>, <span class="type">real</span> <i>newX</i>, <span class="type">real</span> <i>newY</i>)</p></td></tr>
</table></div>
</div><div class="qmldoc"><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>
</div></div><!-- @@@replace -->
<br/>
        </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>