Sophie

Sophie

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

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" />
<!-- qabstractseries.cpp -->
  <title>AbstractSeries 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 >AbstractSeries 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="#details">Detailed Description</a></li>
</ul>
</div>
<div class="sidebar-content" id="sidebar-content"></div></div>
<h1 class="title">AbstractSeries QML Type</h1>
<span class="subtitle"></span>
<!-- $$$AbstractSeries-brief -->
<p>Base type for all Qt Chart series types. <a href="#details">More...</a></p>
<!-- @@@AbstractSeries -->
<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-abstractseries.html"><a href="qabstractseries.html">QAbstractSeries</a></td></tr><tr><td class="memItemLeft rightAlign topAlign"> Inherited By:</td><td class="memItemRight bottomAlign"> <p><a href="qml-qtcharts-abstractbarseries.html">AbstractBarSeries</a>, <a href="qml-qtcharts-areaseries.html">AreaSeries</a>, <a href="qml-qtcharts-boxplotseries.html">BoxPlotSeries</a>, <a href="qml-qtcharts-candlestickseries.html">CandlestickSeries</a>, <a href="qml-qtcharts-pieseries.html">PieSeries</a>, and <a href="qml-qtcharts-xyseries.html">XYSeries</a></p>
</td></tr></table></div><ul>
<li><a href="qml-qtcharts-abstractseries-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-abstractseries.html#name-prop">name</a></b></b> : string</li>
<li class="fn"><b><b><a href="qml-qtcharts-abstractseries.html#opacity-prop">opacity</a></b></b> : real</li>
<li class="fn"><b><b><a href="qml-qtcharts-abstractseries.html#type-prop">type</a></b></b> : enumeration</li>
<li class="fn"><b><b><a href="qml-qtcharts-abstractseries.html#useOpenGL-prop">useOpenGL</a></b></b> : bool</li>
<li class="fn"><b><b><a href="qml-qtcharts-abstractseries.html#visible-prop">visible</a></b></b> : bool</li>
</ul>
<!-- $$$AbstractSeries-description -->
<a name="details"></a>
<h2 id="details">Detailed Description</h2>
<p>This type cannot be instantiated directly. Instead, one of the following derived types should be used to create a series: <a href="qml-qtcharts-lineseries.html">LineSeries</a>, <a href="qml-qtcharts-areaseries.html">AreaSeries</a>, <a href="qml-qtcharts-barseries.html">BarSeries</a>, <a href="qml-qtcharts-stackedbarseries.html">StackedBarSeries</a>, <a href="qml-qtcharts-percentbarseries.html">PercentBarSeries</a>, <a href="qml-qtcharts-horizontalbarseries.html">HorizontalBarSeries</a>, <a href="qml-qtcharts-horizontalstackedbarseries.html">HorizontalStackedBarSeries</a>, <a href="qml-qtcharts-horizontalpercentbarseries.html">HorizontalPercentBarSeries</a>, <a href="qml-qtcharts-pieseries.html">PieSeries</a>, <a href="qml-qtcharts-scatterseries.html">ScatterSeries</a>, <a href="qml-qtcharts-splineseries.html">SplineSeries</a>, <a href="qml-qtcharts-boxplotseries.html">BoxPlotSeries</a>, or <a href="qml-qtcharts-candlestickseries.html">CandlestickSeries</a>.</p>
<!-- @@@AbstractSeries -->
<h2>Property Documentation</h2>
<!-- $$$name -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="name-prop">
<td class="tblQmlPropNode"><p>
<a name="name-prop"></a><span class="name">name</span> : <span class="type">string</span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>The name of the series. It is displayed in the legend for the series and it supports HTML formatting.</p>
</div></div><!-- @@@name -->
<br/>
<!-- $$$opacity -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="opacity-prop">
<td class="tblQmlPropNode"><p>
<a name="opacity-prop"></a><span class="name">opacity</span> : <span class="type">real</span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>The opacity of the series. By default, the opacity is 1.0&#x2e; The valid values range from 0.0 (transparent) to 1.0 (opaque).</p>
</div></div><!-- @@@opacity -->
<br/>
<!-- $$$type -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="type-prop">
<td class="tblQmlPropNode"><p>
<a name="type-prop"></a><span class="name">type</span> : <span class="type">enumeration</span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>The type of the series.</p>
<div class="table"><table class="valuelist"><tr valign="top" class="odd"><th class="tblConst">Constant</th><th class="tbldscr">Description</th></tr>
<tr><td class="topAlign"><code>AbstractSeries.SeriesTypeLine</code></td><td class="topAlign">A line chart.</td></tr>
<tr><td class="topAlign"><code>AbstractSeries.SeriesTypeArea</code></td><td class="topAlign">An area chart.</td></tr>
<tr><td class="topAlign"><code>AbstractSeries.SeriesTypeBar</code></td><td class="topAlign">A vertical bar chart.</td></tr>
<tr><td class="topAlign"><code>AbstractSeries.SeriesTypeStackedBar</code></td><td class="topAlign">A vertical stacked bar chart.</td></tr>
<tr><td class="topAlign"><code>AbstractSeries.SeriesTypePercentBar</code></td><td class="topAlign">A vertical percent bar chart.</td></tr>
<tr><td class="topAlign"><code>AbstractSeries.SeriesTypePie</code></td><td class="topAlign">A pie chart.</td></tr>
<tr><td class="topAlign"><code>AbstractSeries.SeriesTypeScatter</code></td><td class="topAlign">A scatter chart.</td></tr>
<tr><td class="topAlign"><code>AbstractSeries.SeriesTypeSpline</code></td><td class="topAlign">A spline chart.</td></tr>
<tr><td class="topAlign"><code>AbstractSeries.SeriesTypeHorizontalBar</code></td><td class="topAlign">A horizontal bar chart.</td></tr>
<tr><td class="topAlign"><code>AbstractSeries.SeriesTypeHorizontalStackedBar</code></td><td class="topAlign">A horizontal stacked bar chart.</td></tr>
<tr><td class="topAlign"><code>AbstractSeries.SeriesTypeHorizontalPercentBar</code></td><td class="topAlign">A horizontal percent bar chart.</td></tr>
<tr><td class="topAlign"><code>AbstractSeries.SeriesTypeBoxPlot</code></td><td class="topAlign">A box plot chart.</td></tr>
<tr><td class="topAlign"><code>AbstractSeries.SeriesTypeCandlestick</code></td><td class="topAlign">A candlestick chart.</td></tr>
</table></div>
</div></div><!-- @@@type -->
<br/>
<!-- $$$useOpenGL -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="useOpenGL-prop">
<td class="tblQmlPropNode"><p>
<a name="useOpenGL-prop"></a><span class="name">useOpenGL</span> : <span class="type">bool</span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>Specifies whether or not the series is drawn with OpenGL.</p>
<p>Acceleration using OpenGL is supported only for <a href="qml-qtcharts-lineseries.html">LineSeries</a> and <a href="qml-qtcharts-scatterseries.html">ScatterSeries</a>. A line series used as an edge series for a <a href="qml-qtcharts-areaseries.html">AreaSeries</a> cannot use OpenGL acceleration. When a chart contains any series that are drawn with OpenGL, an additional transparent child node is created for the <a href="qml-qtcharts-chartview.html">ChartView</a> node. The accelerated series are not drawn on the <a href="qml-qtcharts-chartview.html">ChartView</a> node, but are instead drawn on the child node.</p>
<p>Performance gained from using OpenGL to accelerate series drawing depends on the underlying hardware, but in most cases it is significant. For example, on a standard desktop computer, enabling OpenGL acceleration for a series typically allows rendering at least hundred times more points without reduction on the frame rate. Chart size also has less effect on the frame rate. The biggest performance sink when rendering <a href="qml-qtcharts-chartview.html">ChartView</a> is rendering and uploading the underlying chart texture. If the underlying chart itself is not changing rapidly, significant extra performance is gained from not needing to regenerate the chart texture for each frame.</p>
<p>The OpenGL acceleration of series drawing is meant for use cases that need fast drawing of large numbers of points. It is optimized for efficiency, and therefore the series using it lack support for many features available to non-accelerated series:</p>
<ul>
<li>Series animations are not supported for accelerated series.</li>
<li>Point labels are not supported for accelerated series.</li>
<li>Marker shapes are ignored for accelerated series. Only plain scatter dots are supported. The scatter dots may be circular or rectangular, depending on the underlying graphics hardware and drivers.</li>
<li>Polar charts do not support accelerated series.</li>
<li>Mouse events for series are reported asynchronously.</li>
<li>Enabling chart drop shadow or using transparent chart background color is not recommended when using accelerated series, as that can slow the frame rate down significantly.</li>
</ul>
<p>The default value is <code>false</code>.</p>
</div></div><!-- @@@useOpenGL -->
<br/>
<!-- $$$visible -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="visible-prop">
<td class="tblQmlPropNode"><p>
<a name="visible-prop"></a><span class="name">visible</span> : <span class="type">bool</span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>Visibility of the series. By default, <code>true</code>.</p>
</div></div><!-- @@@visible -->
<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>