このページでは

DateTimeAxis QML Type

グラフの軸に日付と時刻を追加します。詳細...

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

AbstractAxis

Status: Deprecated

このタイプは非推奨です。新しいコードでの使用は強く推奨しません。

プロパティ

信号

詳細な説明

DateTimeAxis 型は、目盛り、グリッド線、およびシェーディングを備えた軸線を表示するように設定できます。軸ラベルには日付と時刻が表示され、適切な DateTime 形式を設定することで構成できます。

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

プロパティのドキュメント

format : string

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

max : datetime

軸上の最大値。

このプロパティを設定すると、範囲が有効な状態を維持できるよう、必要に応じて最小値が調整されます。

min : datetime

軸上の最小値。

このプロパティを設定すると、範囲が有効な状態を維持できるよう、必要に応じて最大値が調整されます。

tickCount : int

軸上の目盛りの数。

Signal ドキュメント

rangeChanged(datetime min, datetime max)

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

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

注: 対応するハンドラは onRangeChanged です。

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