이 페이지에서

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

축에 표시되는 눈금의 개수.

신호 문서

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.