The vtkQtBarChartOptions class stores the drawing options for a bar chart.
More...
#include <vtkQtBarChartOptions.h>
Inherits QObject.
The vtkQtBarChartOptions class stores the drawing options for a bar chart.
The default settings are as follows:
- axes:
BottomLeft
- bar group fraction: 0.7
- bar width fraction: 0.8
- outline style:
Darker
Definition at line 45 of file vtkQtBarChartOptions.h.
Enumerator |
---|
Darker |
Draws the bar outline in a darker color.
|
Black |
Draws a black bar outline.
|
Definition at line 50 of file vtkQtBarChartOptions.h.
vtkQtBarChartOptions::vtkQtBarChartOptions |
( |
QObject * |
parent = 0 ) | |
|
Creates a bar chart options instance.
- Parameters
-
Makes a copy of another bar chart options instance.
- Parameters
-
other | The bar chart options to copy. |
virtual vtkQtBarChartOptions::~vtkQtBarChartOptions |
( |
) | |
|
|
virtual |
Gets the pair of axes used by the bar chart.
- Returns
- The pair of axes used by the bar chart.
Definition at line 72 of file vtkQtBarChartOptions.h.
Sets the pair of axes used by the bar chart.
- Parameters
-
float vtkQtBarChartOptions::getBarGroupFraction |
( |
) | |
const |
|
inline |
Gets the bar group fraction.
The bar group fraction is used to set the spacing between the groups of bars. For a bar chart with one series, this also sets the width of the bars.
- Returns
- The bar group fraction.
Definition at line 88 of file vtkQtBarChartOptions.h.
void vtkQtBarChartOptions::setBarGroupFraction |
( |
float |
fraction) | |
|
Sets the bar group fraction.
- Parameters
-
fraction | The new bar group fraction. |
float vtkQtBarChartOptions::getBarWidthFraction |
( |
) | |
const |
|
inline |
Gets the bar width fraction.
The bar width fraction is used to set the spacing between the bars of different series.
- Returns
- The bar width fraction.
Definition at line 103 of file vtkQtBarChartOptions.h.
void vtkQtBarChartOptions::setBarWidthFraction |
( |
float |
fraction) | |
|
Sets the bar width fraction.
- Parameters
-
fraction | The new bar width fraction. |
OutlineStyle vtkQtBarChartOptions::getOutlineStyle |
( |
) | |
const |
|
inline |
Gets the outline style for the bars.
- Returns
- The current outline style.
Definition at line 114 of file vtkQtBarChartOptions.h.
void vtkQtBarChartOptions::setOutlineStyle |
( |
OutlineStyle |
style) | |
|
Sets the outline style for the bars.
The default style is Darker
.
- Parameters
-
style | The outline style to use. |
Gets the chart help text formatter.
The help text formatter stores the format string. It is also used to generate the help text.
- Returns
- A pointer to the chart help text formatter.
Definition at line 132 of file vtkQtBarChartOptions.h.
Gets the chart help text formatter.
- Returns
- A pointer to the chart help text formatter.
Definition at line 138 of file vtkQtBarChartOptions.h.
Makes a copy of another bar chart options instance.
- Parameters
-
other | The bar chart options to copy. |
- Returns
- A reference to the object being assigned.
void vtkQtBarChartOptions::axesCornerChanged |
( |
) | |
|
|
signal |
Emitted when the bar chart axes change.
void vtkQtBarChartOptions::barFractionsChanged |
( |
) | |
|
|
signal |
Emitted when bar group or bar width fractions change.
void vtkQtBarChartOptions::outlineStyleChanged |
( |
) | |
|
|
signal |
Emitted when the outline style changes.
void vtkQtBarChartOptions::seriesColorsChanged |
( |
) | |
|
|
signal |
Emitted when the series colors object changes.
The documentation for this class was generated from the following file: