#include <vtkQtBarChartOptions.h>
The default settings are as follows:
BottomLeft
Darker
Definition at line 45 of file vtkQtBarChartOptions.h.
Public Types | |
enum | OutlineStyle { Darker = 0, Black } |
Signals | |
void | axesCornerChanged () |
Emitted when the bar chart axes change. | |
void | barFractionsChanged () |
Emitted when bar group or bar width fractions change. | |
void | outlineStyleChanged () |
Emitted when the outline style changes. | |
void | seriesColorsChanged () |
Emitted when the series colors object changes. | |
Public Member Functions | |
vtkQtBarChartOptions (QObject *parent=0) | |
Creates a bar chart options instance. | |
vtkQtBarChartOptions (const vtkQtBarChartOptions &other) | |
Makes a copy of another bar chart options instance. | |
virtual | ~vtkQtBarChartOptions () |
vtkQtChartLayer::AxesCorner | getAxesCorner () const |
Gets the pair of axes used by the bar chart. | |
void | setAxesCorner (vtkQtChartLayer::AxesCorner axes) |
Sets the pair of axes used by the bar chart. | |
float | getBarGroupFraction () const |
Gets the bar group fraction. | |
void | setBarGroupFraction (float fraction) |
Sets the bar group fraction. | |
float | getBarWidthFraction () const |
Gets the bar width fraction. | |
void | setBarWidthFraction (float fraction) |
Sets the bar width fraction. | |
OutlineStyle | getOutlineStyle () const |
Gets the outline style for the bars. | |
void | setOutlineStyle (OutlineStyle style) |
Sets the outline style for the bars. | |
vtkQtChartHelpFormatter * | getHelpFormat () |
Gets the chart help text formatter. | |
const vtkQtChartHelpFormatter * | getHelpFormat () const |
Gets the chart help text formatter. | |
vtkQtBarChartOptions & | operator= (const vtkQtBarChartOptions &other) |
Makes a copy of another bar chart options instance. |
Definition at line 50 of file vtkQtBarChartOptions.h.
vtkQtBarChartOptions::vtkQtBarChartOptions | ( | QObject * | parent = 0 |
) |
Creates a bar chart options instance.
parent | The parent object. |
vtkQtBarChartOptions::vtkQtBarChartOptions | ( | const vtkQtBarChartOptions & | other | ) |
Makes a copy of another bar chart options instance.
other | The bar chart options to copy. |
virtual vtkQtBarChartOptions::~vtkQtBarChartOptions | ( | ) | [virtual] |
vtkQtChartLayer::AxesCorner vtkQtBarChartOptions::getAxesCorner | ( | ) | const [inline] |
Gets the pair of axes used by the bar chart.
Definition at line 72 of file vtkQtBarChartOptions.h.
void vtkQtBarChartOptions::setAxesCorner | ( | vtkQtChartLayer::AxesCorner | axes | ) |
Sets the pair of axes used by the bar chart.
axes | The new chart axes. |
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.
Definition at line 88 of file vtkQtBarChartOptions.h.
void vtkQtBarChartOptions::setBarGroupFraction | ( | float | fraction | ) |
Sets the bar group fraction.
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.
Definition at line 103 of file vtkQtBarChartOptions.h.
void vtkQtBarChartOptions::setBarWidthFraction | ( | float | fraction | ) |
Sets the bar width fraction.
fraction | The new bar width fraction. |
OutlineStyle vtkQtBarChartOptions::getOutlineStyle | ( | ) | const [inline] |
Gets the outline style for the bars.
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
.
style | The outline style to use. |
vtkQtChartHelpFormatter* vtkQtBarChartOptions::getHelpFormat | ( | ) | [inline] |
Gets the chart help text formatter.
The help text formatter stores the format string. It is also used to generate the help text.
Definition at line 132 of file vtkQtBarChartOptions.h.
const vtkQtChartHelpFormatter* vtkQtBarChartOptions::getHelpFormat | ( | ) | const [inline] |
Gets the chart help text formatter.
Definition at line 138 of file vtkQtBarChartOptions.h.
vtkQtBarChartOptions& vtkQtBarChartOptions::operator= | ( | const vtkQtBarChartOptions & | other | ) |
Makes a copy of another bar chart options instance.
other | The bar chart options to copy. |
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.