#include <vtkQtChartSeriesHueRange.h>


Definition at line 37 of file vtkQtChartSeriesHueRange.h.
Public Member Functions | |
| vtkQtChartSeriesHueRange (QObject *parent=0) | |
| Creates a chart series hue range object.   | |
| virtual | ~vtkQtChartSeriesHueRange () | 
vtkQtChartSeriesColors Methods  | |
| virtual void | getBrush (int index, int total, QBrush &brush) const | 
| Gets the brush for the given index of a series.   | |
Setup Methods  | |
| void | setRange (const QColor &color1, const QColor &color2) | 
| Adds a color range to the list.   | |
| vtkQtChartSeriesHueRange::vtkQtChartSeriesHueRange | ( | QObject * |  parent = 0           | 
          ) | 
Creates a chart series hue range object.
| parent | The parent object. | 
| virtual vtkQtChartSeriesHueRange::~vtkQtChartSeriesHueRange | ( | ) |  [virtual] | 
        
| virtual void vtkQtChartSeriesHueRange::getBrush | ( | int | index, | |
| int | total, | |||
| QBrush & | brush | |||
| ) |  const [virtual] | 
        
Gets the brush for the given index of a series.
The index and total number of series values is used to pick a color along a hue gradient between the color range.
| index | The index in the series items. | |
| total | The total number of items in the series. | |
| brush | Used to return the brush for the given index. | 
Implements vtkQtChartSeriesColors.
| void vtkQtChartSeriesHueRange::setRange | ( | const QColor & | color1, | |
| const QColor & | color2 | |||
| ) | 
Adds a color range to the list.
| color1 | The first color in the range. | |
| color2 | The last color in the range. | 
 1.5.6