AbstractAxis QML Type

특수 축 유형에 사용되는 기본 유형입니다. 더 보기...

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

BarCategoryAxis, CategoryAxis, DateTimeAxis, LogValueAxis, and ValueAxis

속성

상세 설명

각 시리즈는 하나의 가로축과 세로축에만 바인딩할 수 있습니다.

축선, 제목, 레이블, 격자선, 음영 등 다양한 축 요소의 속성 및 가시성을 개별적으로 제어할 수 있습니다.

속성 문서

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]

축의 레이블이 하나 이상 잘린 경우 true 를 반환합니다.

축이 표시되기 전에는 반환된 값이 정확하지 않습니다.


labelsVisible : bool

축 레이블의 가시성.


lineVisible : bool

축 선의 가시성입니다.


minorGridLineColor : color

보조 그리드 선의 색상입니다.

보조 그리드선을 지원하는 축에만 적용됩니다.


minorGridVisible : bool

보조 그리드선의 가시성입니다. 보조 그리드선을 지원하는 축에만 적용됩니다.


orientation : Qt.Orientation [read-only]

축의 방향입니다. 축이 계열로 설정된 경우 Qt.Horizontal 또는 Qt.Vertical 로 고정됩니다.


reverse : alignment

역축을 사용할지 여부를 정의합니다. 기본값은 false 입니다.

역축은 직교 차트의 면적 계열뿐만 아니라 선, 스플라인 및 분산형 계열에서도 지원됩니다. 하나의 축이 반전되거나 동작이 정의되지 않은 경우 동일한 계열에 연결된 동일한 방향의 모든 축을 반전해야 합니다.


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.