The vtkQtChartAxisLayer class is used to display the chart axes.
More...
#include <vtkQtChartAxisLayer.h>
List of all members.
Additional Inherited Members |
void | layoutNeeded () |
| Emitted when the layer layout needs to be calculated.
|
void | rangeChanged () |
| Emitted when the axis range for the layer has changed.
|
vtkQtChartArea * | ChartArea |
| Stores the containing chart area.
|
Detailed Description
The vtkQtChartAxisLayer class is used to display the chart axes.
Definition at line 41 of file vtkQtChartAxisLayer.h.
Member Enumeration Documentation
- Enumerator:
ChartSelect |
The axis labels are determined by the charts.
|
BestFit |
The axis labels are determined by space.
|
FixedInterval |
The axis labels are fixed.
|
Definition at line 46 of file vtkQtChartAxisLayer.h.
Constructor & Destructor Documentation
vtkQtChartAxisLayer::vtkQtChartAxisLayer |
( |
| ) |
|
virtual vtkQtChartAxisLayer::~vtkQtChartAxisLayer |
( |
| ) |
|
|
virtual |
Member Function Documentation
Gets the axis in the specified location.
- Parameters:
-
location | The location of the axis. |
- Returns:
- A pointer to the specified axis.
Gets the horizontal axis in the specified pair.
- Parameters:
-
axes | The pair of chart axes. |
- Returns:
- A pointer to the specified axis.
Gets the vertical axis in the specified pair.
- Parameters:
-
axes | The pair of chart axes. |
- Returns:
- A pointer to the specified axis.
Gets the layout behavior for the specified axis.
- Parameters:
-
location | The location of the axis. |
- Returns:
- The layout behavior for the specified axis.
Sets the layout behavior for the specified axis.
- Parameters:
-
location | The location of the axis. |
behavior | The new layout behavior. |
Gets the domain priority order for the given axis.
- Parameters:
-
location | The location of the axis. |
- Returns:
- A reference to the domain priority order.
Sets the domain priority order for the given axis.
- Parameters:
-
location | The location of the axis. |
priority | The new domain priority order. |
virtual void vtkQtChartAxisLayer::layoutChart |
( |
const QRectF & |
area | ) |
|
|
virtual |
Used to layout the chart axes.
The area
passed to this method is the total chart area. The axis layer uses the whole area to layout the axes. Once the layout is complete, the space inside the axes is passed to the other chart layers.
- Parameters:
-
area | The area the axes should occupy. |
- See also:
- vtkQtChartAxisLayer::getLayerBounds()
Implements vtkQtChartLayer.
virtual void vtkQtChartAxisLayer::setChartArea |
( |
vtkQtChartArea * |
area | ) |
|
|
virtual |
Sets the chart area that contains this layer.
The contents space object for the axes is set to the one used by the chart area.
- Parameters:
-
Reimplemented from vtkQtChartLayer.
QRectF vtkQtChartAxisLayer::getLayerBounds |
( |
| ) |
const |
|
inline |
Gets the area inside the chart axes.
- Returns:
- The area inside the chart axes.
Definition at line 138 of file vtkQtChartAxisLayer.h.
virtual QRectF vtkQtChartAxisLayer::boundingRect |
( |
| ) |
const |
|
virtual |
virtual void vtkQtChartAxisLayer::paint |
( |
QPainter * |
painter, |
|
|
const QStyleOptionGraphicsItem * |
option, |
|
|
QWidget * |
widget = 0 |
|
) |
| |
|
virtual |
void vtkQtChartAxisLayer::handleChartRangeChange |
( |
| ) |
|
|
slot |
Sets a flag to gather the chart domains during layout.
void vtkQtChartAxisLayer::cancelChartRangeChange |
( |
| ) |
|
|
slot |
Clears the flag to gather the chart domains during layout.
The documentation for this class was generated from the following file: