vtkQtChartLegendManager Class Reference

#include <vtkQtChartLegendManager.h>

Collaboration diagram for vtkQtChartLegendManager:

Collaboration graph
[legend]

List of all members.


Detailed Description

The vtkQtChartLegendManager class builds a chart legend from the chart series layers.

Definition at line 43 of file vtkQtChartLegendManager.h.


Public Slots

void insertLayer (int index, vtkQtChartLayer *chart)
 Inserts a chart layer at the given index.
void removeLayer (int index, vtkQtChartLayer *chart)
 Removes the specified chart layer from the list.
void setLayerVisible (vtkQtChartLayer *chart, bool visible)
 Sets the visibility for the series in the given chart layer.

Public Member Functions

 vtkQtChartLegendManager (QObject *parent=0)
 Creates a chart legend manager instance.
virtual ~vtkQtChartLegendManager ()
Setup Methods
void setChartArea (vtkQtChartArea *area)
 Sets the chart area that holds the chart series layers.
void setChartLegend (vtkQtChartLegend *legend)
 Sets the chart legend to manage.

Constructor & Destructor Documentation

vtkQtChartLegendManager::vtkQtChartLegendManager ( QObject *  parent = 0  ) 

Creates a chart legend manager instance.

Parameters:
parent The parent object.

virtual vtkQtChartLegendManager::~vtkQtChartLegendManager (  )  [virtual]


Member Function Documentation

void vtkQtChartLegendManager::setChartArea ( vtkQtChartArea area  ) 

Sets the chart area that holds the chart series layers.

Parameters:
area The new chart area.

void vtkQtChartLegendManager::setChartLegend ( vtkQtChartLegend legend  ) 

Sets the chart legend to manage.

Parameters:
legend The new chart legend.

void vtkQtChartLegendManager::insertLayer ( int  index,
vtkQtChartLayer chart 
) [slot]

Inserts a chart layer at the given index.

Parameters:
index The index of the layer.
chart The chart layer that was inserted.

void vtkQtChartLegendManager::removeLayer ( int  index,
vtkQtChartLayer chart 
) [slot]

Removes the specified chart layer from the list.

Parameters:
index The index of the layer.
chart The chart layer that will be removed.

void vtkQtChartLegendManager::setLayerVisible ( vtkQtChartLayer chart,
bool  visible 
) [slot]

Sets the visibility for the series in the given chart layer.

Parameters:
chart The chart layer.
visible True if the layer series should be visible.


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

Generated on Mon Sep 27 18:44:24 2010 for VTK by  doxygen 1.5.6