LogValueAxis3DFormatter QML Type
提供对数数值轴的格式化规则。更多内容...
| Import Statement: | import QtDataVisualization 1.12 |
| Since: | QtDataVisualization 1.1 |
| In C++: | QLogValue3DAxisFormatter |
| Inherits: | |
| Status: | Deprecated |
此类型已弃用。我们强烈建议不要在新代码中使用它。
属性
- autoSubGrid : bool
- base : real
- showEdgeLabels : bool
详细说明
当格式化器附加到数值轴时,该轴的范围不能包含负值或零。
属性文档
autoSubGrid : bool
用于指定是否自动生成子网格位置。
如果此属性值设置为true ,则在计算子网格线位置时将忽略父轴的子段数。子网格位置将根据base 属性值自动生成。子网格线的数量设置为基数减一,并向下取整。当基数为零时,此属性将被忽略。默认值为true 。
另请参阅 base 和ValueAxis3D::subSegmentCount 。
base : real
用于映射坐标轴值的对数底数。如果底数不为零,在计算网格线和标签位置时,将忽略父坐标轴的区段数。如果希望该范围像普通数值轴一样被划分为等分区段,请将此属性值设置为零。
底数必须为零或正数,且不能等于一。默认值为十。
另请参阅 ValueAxis3D::segmentCount 。
showEdgeLabels : bool
用于指定坐标轴上的起始标签和结束标签是否显示。
当base 属性值不为零时,整个坐标轴范围通常不会被平均划分为等分段。 第一个和最后一个分段通常比其他分段更小。在极端情况下,这可能会导致第一个和最后两个网格线上的标签发生重叠。通过将此属性设置为false ,当分段无法精确匹配坐标轴时,您可以隐藏坐标轴的最小值和最大值标签。默认值为true 。
另请参阅 base 和AbstractAxis3D::labels 。
© 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.