VTK
|
The vtkQtChartGridLayer class is used to dislpay the chart background grid. More...
#include <vtkQtChartGridLayer.h>
Public Types | |
enum | { Type = vtkQtChart_GridLayerType } |
Public Slots | |
void | setXOffset (float xOffset) |
Sets the x-axis pan offset. | |
void | setYOffset (float yOffset) |
Sets the y-axis pan offset. | |
Public Member Functions | |
vtkQtChartGridLayer () | |
virtual | ~vtkQtChartGridLayer () |
virtual void | setChartArea (vtkQtChartArea *area) |
Sets the chart area that contains this layer. | |
virtual void | layoutChart (const QRectF &area) |
Used to layout the chart layer. | |
virtual QRectF | boundingRect () const |
virtual void | paint (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget=0) |
The vtkQtChartGridLayer class is used to dislpay the chart background grid.
Definition at line 37 of file vtkQtChartGridLayer.h.
anonymous enum |
Definition at line 42 of file vtkQtChartGridLayer.h.
virtual vtkQtChartGridLayer::~vtkQtChartGridLayer | ( | ) | [virtual] |
virtual void vtkQtChartGridLayer::setChartArea | ( | vtkQtChartArea * | area | ) | [virtual] |
Sets the chart area that contains this layer.
The chart area will call this method when the layer is added to it. The layer can overload this method to perform any setup it needs to.
area | The new chart area. |
Reimplemented from vtkQtChartLayer.
virtual void vtkQtChartGridLayer::layoutChart | ( | const QRectF & | area | ) | [virtual] |
Used to layout the chart layer.
Use the AxisDomain
from the relevant axes to determine if the chart data can be displayed. The domain priority for the axes can override a layer's desired domain.
area | The area the chart should occupy. |
Implements vtkQtChartLayer.
virtual QRectF vtkQtChartGridLayer::boundingRect | ( | ) | const [virtual] |
virtual void vtkQtChartGridLayer::paint | ( | QPainter * | painter, |
const QStyleOptionGraphicsItem * | option, | ||
QWidget * | widget = 0 |
||
) | [virtual] |
void vtkQtChartGridLayer::setXOffset | ( | float | xOffset | ) | [slot] |
Sets the x-axis pan offset.
xOffset | The new x-axis pan offset. |
void vtkQtChartGridLayer::setYOffset | ( | float | yOffset | ) | [slot] |
Sets the y-axis pan offset.
yOffset | The new y-axis pan offset. |