LineSeries QML Type
データを折れ線グラフで表示する。もっと見る...
Import Statement: | import QtGraphs |
In C++: | QLineSeries |
Inherits: |
- 継承されたメンバを含む、全メンバの一覧
- LineSeries はQt Graphs QML Types for 2D に含まれます。
プロパティ
- capStyle : Qt::PenCapStyle
- pointDelegate : Component
- width : real
信号
詳細説明
折れ線グラフは、直線で結ばれた一連のデータ点として情報を表示するために使用される。
LineSeries はScatterSeries とほぼ同じ API を使用するので、さらなる使用例についてはScatterSeries のドキュメントを参照してください。
ScatterSeriesも参照してください 。
プロパティの説明
capStyle : Qt::PenCapStyle |
線のキャップスタイルを制御します。Qt.FlatCap,Qt.SquareCap,Qt.RoundCap のいずれかを設定します。デフォルトでは、キャップスタイルは Qt.SquareCap です。無効な値は自動的にデフォルト値に設定されます。
Qt::PenCapStyleも参照してください 。
pointDelegate : Component |
与えられた QML コンポーネントで点をマークします。
pointDelegate: Image {
source: "images/happy_box.png"
}
width : real |
線の幅。デフォルトでは 2.0 です。0より小さい幅は無効で、自動的に0に設定されます。
シグナル
capStyleChanged() |
このシグナルは、線形のキャップのスタイルが変更されたときに発行されます。
注意: 対応するハンドラはonCapStyleChanged
。
widthChanged() |
このシグナルは、線系列の幅が変更されたときに発せられる。
注 :対応するハンドラはonWidthChanged
。
© 2025 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. 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.