DateTimeAxis QML Type

チャートの軸に日付と時刻を追加します。詳細...

Import Statement: import QtCharts 2.8
In C++: QDateTimeAxis
Inherits:

AbstractAxis

プロパティ

方法

詳細説明

DateTimeAxis 型は、目盛り、グリッド線、および陰影を持つ軸線を表示するように設定できます。軸ラベルは日付と時刻を表示し、適切なDateTime形式を設定することで構成できます。

注意: 紀元前4714年以前またはCE約140万年以降の日付は、正確に保存されない場合があります。

プロパティ・ドキュメンテーション

format : string

QDateTime オブジェクトから軸のラベルを作成するときに使用されるフォーマット文字列。文字列の定義方法については、QDateTime のドキュメントを参照してください。


max : datetime

軸の最大値。

このプロパティを設定すると、範囲が有効であることを保証するために、必要に応じて最小値が調整されます。


min : datetime

軸の最小値。

このプロパティを設定するとき、範囲が有効なままであることを確実にするために、必要に応じて最大値が調整される。


tickCount : int

軸の目盛りの数。


メソッドの説明

rangeChanged(datetime min, datetime max)

このシグナルは、min およびmax によって指定された軸の最小値または最大値が変更されたときに発行されます。

対応するシグナル・ハンドラはonRangeChanged() です。


© 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.