vtkQtChartGridLayer Class Reference

#include <vtkQtChartGridLayer.h>

Inheritance diagram for vtkQtChartGridLayer:

Inheritance graph
Collaboration diagram for vtkQtChartGridLayer:

Collaboration graph

List of all members.

Detailed Description

The vtkQtChartGridLayer class is used to dislpay the chart background grid.

Definition at line 37 of file 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)

Member Enumeration Documentation

anonymous enum


Definition at line 42 of file vtkQtChartGridLayer.h.

Constructor & Destructor Documentation

vtkQtChartGridLayer::vtkQtChartGridLayer (  ) 

virtual vtkQtChartGridLayer::~vtkQtChartGridLayer (  )  [virtual]

Member Function Documentation

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.

The documentation for this class was generated from the following file:

Generated on Wed Jun 3 19:28:15 2009 for VTK by  doxygen 1.5.6