|
| enum | Label { Title
, Footer
, NumLabels
} |
| |
◆ LayoutData()
| QwtPlotLayoutEngine::LayoutData::LayoutData |
( |
const QwtPlot * |
plot | ) |
|
Construct LayoutData from a QwtPlot / 从QwtPlot构造LayoutData.
Initializes all layout data by extracting information from the plot's components including legend, labels, axes and canvas.
通过从绘图组件(包括图例、标签、轴和画布)提取信息来初始化所有布局数据。
- Parameters
-
| plot | Pointer to the QwtPlot / 指向QwtPlot的指针 |
◆ axisData() [1/2]
Get scale data for a specific axis / 获取特定轴的刻度数据
- Parameters
-
| axisId | Axis identifier / 轴标识符 |
- Returns
- Mutable reference to the scale data / 刻度数据的可变引用
◆ axisData() [2/2]
Get scale data for a specific axis / 获取特定轴的刻度数据
- Parameters
-
| axisId | Axis identifier / 轴标识符 |
- Returns
- Constant reference to the scale data / 刻度数据的常量引用
◆ hasSymmetricYAxes()
| bool QwtPlotLayoutEngine::LayoutData::hasSymmetricYAxes |
( |
| ) |
const |
Check if Y axes are symmetric / 检查Y轴是否对称
Determines if both left and right Y axes are visible or both are hidden.
确定左右Y轴是否都可见或都隐藏。
- Returns
- True if both Y axes have the same visibility state / 如果两个Y轴具有相同的可见性状态,则返回true
◆ tickOffset()
| double QwtPlotLayoutEngine::LayoutData::tickOffset |
( |
int |
axisPos | ) |
const |
Get tick offset for a specific axis position / 获取特定轴位置的刻度偏移量
- Parameters
-
| axisPos | Axis position (0-3) / 轴位置(0-3) |
- Returns
- Tick offset value / 刻度偏移值
The documentation for this class was generated from the following files: