AbstractAxis QML Type

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

Import Statement: import QtCharts 2.8
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

軸の可視性。


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