#include <vtkQtChartStyleManager.h>

Sharing style generators keeps the style from repeating. This is useful when several chart layers are displayed in the same chart. For example, a line chart and a bar chart can share a style generator to make sure that none of the series are the same color.
Definition at line 46 of file vtkQtChartStyleManager.h.
Public Member Functions | |
| vtkQtChartStyleManager (QObject *parent=0) | |
| Creates a chart style manager. | |
| virtual | ~vtkQtChartStyleManager () |
Style Setup Methods | |
| virtual int | getStyleIndex (vtkQtChartSeriesLayer *layer, vtkQtChartSeriesOptions *options) const =0 |
| virtual int | insertStyle (vtkQtChartSeriesLayer *layer, vtkQtChartSeriesOptions *options)=0 |
| virtual void | removeStyle (vtkQtChartSeriesLayer *layer, vtkQtChartSeriesOptions *options)=0 |
Generator Methods | |
| QObject * | getGenerator (const QString &name) const |
| void | setGenerator (const QString &name, QObject *generator) |
| void | removeGenerator (const QString &name) |
| void | removeGenerator (QObject *generator) |
| vtkQtChartStyleManager::vtkQtChartStyleManager | ( | QObject * | parent = 0 |
) |
Creates a chart style manager.
| parent | The parent object. |
| virtual vtkQtChartStyleManager::~vtkQtChartStyleManager | ( | ) | [virtual] |
| virtual int vtkQtChartStyleManager::getStyleIndex | ( | vtkQtChartSeriesLayer * | layer, | |
| vtkQtChartSeriesOptions * | options | |||
| ) | const [pure virtual] |
Implemented in vtkQtChartBasicStyleManager.
| virtual int vtkQtChartStyleManager::insertStyle | ( | vtkQtChartSeriesLayer * | layer, | |
| vtkQtChartSeriesOptions * | options | |||
| ) | [pure virtual] |
Implemented in vtkQtChartBasicStyleManager.
| virtual void vtkQtChartStyleManager::removeStyle | ( | vtkQtChartSeriesLayer * | layer, | |
| vtkQtChartSeriesOptions * | options | |||
| ) | [pure virtual] |
Implemented in vtkQtChartBasicStyleManager.
| QObject* vtkQtChartStyleManager::getGenerator | ( | const QString & | name | ) | const |
| void vtkQtChartStyleManager::setGenerator | ( | const QString & | name, | |
| QObject * | generator | |||
| ) |
| void vtkQtChartStyleManager::removeGenerator | ( | const QString & | name | ) |
| void vtkQtChartStyleManager::removeGenerator | ( | QObject * | generator | ) |
1.5.6