#include <vtkQtChartLegendManager.h>
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. |
vtkQtChartLegendManager::vtkQtChartLegendManager | ( | QObject * | parent = 0 |
) |
Creates a chart legend manager instance.
parent | The parent object. |
virtual vtkQtChartLegendManager::~vtkQtChartLegendManager | ( | ) | [virtual] |
void vtkQtChartLegendManager::setChartArea | ( | vtkQtChartArea * | area | ) |
Sets the chart area that holds the chart series layers.
area | The new chart area. |
void vtkQtChartLegendManager::setChartLegend | ( | vtkQtChartLegend * | legend | ) |
Sets the chart legend to manage.
legend | The new chart legend. |
void vtkQtChartLegendManager::insertLayer | ( | int | index, | |
vtkQtChartLayer * | chart | |||
) | [slot] |
Inserts a chart layer at the given index.
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.
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.
chart | The chart layer. | |
visible | True if the layer series should be visible. |