VTK
Public Slots | Public Member Functions | List of all members
vtkQtChartLegendManager Class Reference

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

#include <vtkQtChartLegendManager.h>

Inherits QObject.

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.
 

Detailed Description

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

Definition at line 43 of file vtkQtChartLegendManager.h.

Constructor & Destructor Documentation

vtkQtChartLegendManager::vtkQtChartLegendManager ( QObject *  parent = 0)

Creates a chart legend manager instance.

Parameters
parentThe 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
areaThe new chart area.
void vtkQtChartLegendManager::setChartLegend ( vtkQtChartLegend legend)

Sets the chart legend to manage.

Parameters
legendThe new chart legend.
void vtkQtChartLegendManager::insertLayer ( int  index,
vtkQtChartLayer chart 
)
slot

Inserts a chart layer at the given index.

Parameters
indexThe index of the layer.
chartThe chart layer that was inserted.
void vtkQtChartLegendManager::removeLayer ( int  index,
vtkQtChartLayer chart 
)
slot

Removes the specified chart layer from the list.

Parameters
indexThe index of the layer.
chartThe 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
chartThe chart layer.
visibleTrue if the layer series should be visible.

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