このページでは

AbstractAxis QML Type

特殊な軸型に使用される基本型。詳細...

Import Statement: import QtCharts 2.11
In C++: QAbstractAxis
Inherited By:

BarCategoryAxis, CategoryAxis, DateTimeAxis, LogValueAxis, and ValueAxis

プロパティ

詳細説明

各系列は、1つの水平軸と垂直軸にのみバインドできる。

軸線、タイトル、ラベル、グリッド線、シェードなどの様々な軸要素のプロパティと可視性は、個別に制御できる。

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

alignment : alignment [read-only]

軸のアライメント。Qt.AlignLeft,Qt.AlignRight,Qt.AlignBottom, またはQt.AlignTop のいずれか。

color : color

軸と目盛りの色。

gridLineColor : color

グリッド線の色。

gridVisible : bool

グリッド線の可視性。

labelsAngle : int

軸ラベルの角度を度単位で示す。

labelsColor : color

軸ラベルの色。

labelsFont : font

軸ラベルのフォント。

詳細については、font を参照してください。

labelsTruncated : int [read-only]

軸上の少なくとも1つのラベルが切り捨てられる場合、true を返します。

返される値は、軸が表示される前は正確ではありません。

labelsVisible : bool

軸ラベルの可視性。

lineVisible : bool

軸線の可視性。

minorGridLineColor : color

マイナーグリッド線の色。

マイナーグリッド線をサポートする軸にのみ適用される。

minorGridVisible : bool

マイナーグリッド線の可視性。マイナーグリッド線をサポートする軸にのみ適用される。

orientation : Qt.Orientation [read-only]

軸の向き。軸が直列に設定 さ れている と きは、Qt.Horizontal またはQt.Vertical のいずれかに固定 さ れる。

reverse : alignment

逆軸を使用するかどうかを定義する。デフォルトでは、値はfalse です。

逆軸は、折れ線、スプライン、散布図系列、およびデカルト・チャートを持つ面積系列でサポートされます。同じ系列に付属する同じ向きのすべての軸は、1つでも逆でなければ動作は未定義です。

shadesBorderColor : color

軸の陰影の境界(ペン)の色。

shadesColor : color

軸の影の塗りつぶし(ブラシ)色。

shadesVisible : bool

軸の陰影の可視性。

titleFont : font

軸のタイトルのフォント。

titleText : string

軸のタイトル。デフォルトでは空。軸タイトルは HTML 形式をサポートします。

titleVisible : bool

軸タイトルの可視性。デフォルトでは、値はtrue です。

truncateLabels : int

ラベルの切り捨て状態。

全文を表示するのに十分なスペースがない場合、ラベルを切り捨てるかどうかを示す。デフォルトはtrue です。

visible : bool

軸の可視性。

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