DateTimeAxis QML Type

차트의 축에 날짜와 시간을 추가합니다. 더 보기...

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

AbstractAxis

속성

방법

상세 설명

날짜/시간 축 유형은 눈금선, 격자선 및 음영이 있는 축선을 표시하도록 설정할 수 있습니다. 축 레이블은 날짜와 시간을 표시하며 적절한 날짜/시간 형식을 설정하여 구성할 수 있습니다.

참고: 기원전 4714년 이전 또는 기원후 약 140만 년 이후의 날짜는 정확하게 저장되지 않을 수 있습니다.

속성 문서

format : string

QDateTime 객체에서 축의 레이블을 만들 때 사용되는 형식 문자열입니다. 문자열을 정의하는 방법에 대한 자세한 내용은 QDateTime 문서를 참조하세요.


max : datetime

축의 최대값입니다.

이 속성을 설정할 때 범위가 유효한지 확인하기 위해 필요한 경우 최소값이 조정됩니다.


min : datetime

축의 최소값입니다.

이 속성을 설정할 때 필요한 경우 최대값을 조정하여 범위가 유효하게 유지되도록 합니다.


tickCount : int

축의 체크 표시 수입니다.


메서드 문서

rangeChanged(datetime min, datetime max)

이 신호는 minmax 에서 지정한 축의 최소값 또는 최대값이 변경될 때 발생합니다.

해당 신호 핸들러는 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.