<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html> <html lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <!-- qcandlestickset.cpp --> <title>CandlestickSet 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 >CandlestickSet 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="#details">Detailed Description</a></li> </ul> </div> <div class="sidebar-content" id="sidebar-content"></div></div> <h1 class="title">CandlestickSet QML Type</h1> <span class="subtitle"></span> <!-- $$$CandlestickSet-brief --> <p>Represents a single candlestick item in a candlestick chart. <a href="#details">More...</a></p> <!-- @@@CandlestickSet --> <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"> Since:</td><td class="memItemRight bottomAlign"> QtCharts 2.2</td></tr><tr><td class="memItemLeft rightAlign topAlign"> Instantiates:</td><td class="memItemRight bottomAlign"> <a href="qml-qtcharts-candlestickset.html"><a href="qcandlestickset.html">QCandlestickSet</a></td></tr></table></div><ul> <li><a href="qml-qtcharts-candlestickset-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-candlestickset.html#brushFilename-prop">brushFilename</a></b></b> : string</li> <li class="fn"><b><b><a href="qml-qtcharts-candlestickset.html#close-prop">close</a></b></b> : real</li> <li class="fn"><b><b><a href="qml-qtcharts-candlestickset.html#high-prop">high</a></b></b> : real</li> <li class="fn"><b><b><a href="qml-qtcharts-candlestickset.html#low-prop">low</a></b></b> : real</li> <li class="fn"><b><b><a href="qml-qtcharts-candlestickset.html#open-prop">open</a></b></b> : real</li> <li class="fn"><b><b><a href="qml-qtcharts-candlestickset.html#timestamp-prop">timestamp</a></b></b> : real</li> </ul> <a name="signals"></a> <h2 id="signals">Signals</h2> <ul> <li class="fn"><b><b><a href="qml-qtcharts-candlestickset.html#clicked-signal">clicked</a></b></b>()</li> <li class="fn"><b><b><a href="qml-qtcharts-candlestickset.html#doubleClicked-signal">doubleClicked</a></b></b>()</li> <li class="fn"><b><b><a href="qml-qtcharts-candlestickset.html#hovered-signal">hovered</a></b></b>(bool <i>status</i>)</li> <li class="fn"><b><b><a href="qml-qtcharts-candlestickset.html#pressed-signal">pressed</a></b></b>()</li> <li class="fn"><b><b><a href="qml-qtcharts-candlestickset.html#released-signal">released</a></b></b>()</li> </ul> <!-- $$$CandlestickSet-description --> <a name="details"></a> <h2 id="details">Detailed Description</h2> <p>Five values are needed to create a graphical representation of a candlestick item: <a href="qml-qtcharts-candlestickset.html#open-prop">open</a>, <a href="qml-qtcharts-candlestickset.html#high-prop">high</a>, <a href="qml-qtcharts-candlestickset.html#low-prop">low</a>, <a href="qml-qtcharts-candlestickset.html#close-prop">close</a>, and <a href="qml-qtcharts-candlestickset.html#timestamp-prop">timestamp</a>.</p> <p><b>See also </b><a href="qml-qtcharts-candlestickseries.html">CandlestickSeries</a>.</p> <!-- @@@CandlestickSet --> <h2>Property Documentation</h2> <!-- $$$brushFilename --> <div class="qmlitem"><div class="qmlproto"> <div class="table"><table class="qmlname"> <tr valign="top" class="odd" id="brushFilename-prop"> <td class="tblQmlPropNode"><p> <a name="brushFilename-prop"></a><span class="name">brushFilename</span> : <span class="type">string</span></p></td></tr> </table></div> </div><div class="qmldoc"><p>The name of the file used as a brush for the candlestick item.</p> </div></div><!-- @@@brushFilename --> <br/> <!-- $$$close --> <div class="qmlitem"><div class="qmlproto"> <div class="table"><table class="qmlname"> <tr valign="top" class="odd" id="close-prop"> <td class="tblQmlPropNode"><p> <a name="close-prop"></a><span class="name">close</span> : <span class="type">real</span></p></td></tr> </table></div> </div><div class="qmldoc"><p>The close value of the candlestick item.</p> </div></div><!-- @@@close --> <br/> <!-- $$$high --> <div class="qmlitem"><div class="qmlproto"> <div class="table"><table class="qmlname"> <tr valign="top" class="odd" id="high-prop"> <td class="tblQmlPropNode"><p> <a name="high-prop"></a><span class="name">high</span> : <span class="type">real</span></p></td></tr> </table></div> </div><div class="qmldoc"><p>The high value of the candlestick item.</p> </div></div><!-- @@@high --> <br/> <!-- $$$low --> <div class="qmlitem"><div class="qmlproto"> <div class="table"><table class="qmlname"> <tr valign="top" class="odd" id="low-prop"> <td class="tblQmlPropNode"><p> <a name="low-prop"></a><span class="name">low</span> : <span class="type">real</span></p></td></tr> </table></div> </div><div class="qmldoc"><p>The low value of the candlestick item.</p> </div></div><!-- @@@low --> <br/> <!-- $$$open --> <div class="qmlitem"><div class="qmlproto"> <div class="table"><table class="qmlname"> <tr valign="top" class="odd" id="open-prop"> <td class="tblQmlPropNode"><p> <a name="open-prop"></a><span class="name">open</span> : <span class="type">real</span></p></td></tr> </table></div> </div><div class="qmldoc"><p>The open value of the candlestick item.</p> </div></div><!-- @@@open --> <br/> <!-- $$$timestamp --> <div class="qmlitem"><div class="qmlproto"> <div class="table"><table class="qmlname"> <tr valign="top" class="odd" id="timestamp-prop"> <td class="tblQmlPropNode"><p> <a name="timestamp-prop"></a><span class="name">timestamp</span> : <span class="type">real</span></p></td></tr> </table></div> </div><div class="qmldoc"><p>The timestamp value of the candlestick item.</p> </div></div><!-- @@@timestamp --> <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>()</p></td></tr> </table></div> </div><div class="qmldoc"><p>This signal is emitted when the candlestick item is clicked.</p> <p>The corresponding signal handler is <code>onClicked</code>.</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>()</p></td></tr> </table></div> </div><div class="qmldoc"><p>This signal is emitted when the user double-clicks a candlestick item.</p> <p>The corresponding signal handler is <code>onDoubleClicked</code>.</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">bool</span> <i>status</i>)</p></td></tr> </table></div> </div><div class="qmldoc"><p>This signal is emitted when a mouse is hovered over a candlestick item.</p> <p>When the mouse moves over the item, <i>status</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/> <!-- $$$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>()</p></td></tr> </table></div> </div><div class="qmldoc"><p>This signal is emitted when the user clicks the candlestick item and holds down the mouse button.</p> <p>The corresponding signal handler is <code>onPressed</code>.</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>()</p></td></tr> </table></div> </div><div class="qmldoc"><p>This signal is emitted when the user releases the mouse press on the candlestick item.</p> <p>The corresponding signal handler is <code>onReleased</code>.</p> </div></div><!-- @@@released --> <br/> </div> </div> </div> </div> </div> <div class="footer"> <p> <acronym title="Copyright">©</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>