The vtkQtLineChartSeriesOptions class stores the options for a line chart series. More...
#include <vtkQtLineChartSeriesOptions.h>
Signals | |
void | axesCornerChanged (int corner, int previous) |
Emitted when the series axes corner changes. | |
void | pointVisibilityChanged (bool visible) |
Emitted when the series point visibility changes. | |
void | pointMarkerChanged () |
Emitted when the point marker style or size has changed. | |
Public Member Functions | |
vtkQtLineChartSeriesOptions (QObject *parent=0) | |
Creates a line chart series options object. | |
virtual | ~vtkQtLineChartSeriesOptions () |
virtual void | setStyle (int style, vtkQtChartStyleGenerator *generator) |
Sets the style generator index for the series. | |
vtkQtChartLayer::AxesCorner | getAxesCorner () const |
Gets the axes corner for the series. | |
void | setAxesCorner (vtkQtChartLayer::AxesCorner axes) |
Sets the axes corner for the series. | |
bool | arePointsVisible () const |
Gets whether or not the series points should be visible. | |
void | setPointsVisible (bool visible) |
Sets whether or not the series points should be visible. | |
vtkQtPointMarker::MarkerStyle | getMarkerStyle () const |
Gets the series marker style. | |
void | setMarkerStyle (vtkQtPointMarker::MarkerStyle style) |
Sets the series marker style. | |
const QSizeF & | getMarkerSize () const |
Gets the marker size for the series. | |
void | setMarkerSize (const QSizeF &size) |
Sets the marker size for the series. | |
Protected Attributes | |
vtkQtChartLayer::AxesCorner | AxesCorner |
Stores the axes corner. | |
vtkQtPointMarker::MarkerStyle | PointStyle |
Stores the marker style. | |
QSizeF * | PointSize |
Stores the marker size. | |
bool | ShowPoints |
True if points are shown. |
The vtkQtLineChartSeriesOptions class stores the options for a line chart series.
Definition at line 39 of file vtkQtLineChartSeriesOptions.h.
vtkQtLineChartSeriesOptions::vtkQtLineChartSeriesOptions | ( | QObject * | parent = 0 |
) |
Creates a line chart series options object.
parent | The parent object. |
virtual vtkQtLineChartSeriesOptions::~vtkQtLineChartSeriesOptions | ( | ) | [virtual] |
virtual void vtkQtLineChartSeriesOptions::setStyle | ( | int | style, | |
vtkQtChartStyleGenerator * | generator | |||
) | [virtual] |
Sets the style generator index for the series.
This method uses the style generator to assign the initial pen for the series.
style | The style index for the generator. | |
generator | The style generator to use. |
Reimplemented from vtkQtChartSeriesOptions.
vtkQtChartLayer::AxesCorner vtkQtLineChartSeriesOptions::getAxesCorner | ( | ) | const |
Gets the axes corner for the series.
void vtkQtLineChartSeriesOptions::setAxesCorner | ( | vtkQtChartLayer::AxesCorner | axes | ) |
Sets the axes corner for the series.
axes | The new axes corner for the series. |
bool vtkQtLineChartSeriesOptions::arePointsVisible | ( | ) | const [inline] |
Gets whether or not the series points should be visible.
Definition at line 76 of file vtkQtLineChartSeriesOptions.h.
void vtkQtLineChartSeriesOptions::setPointsVisible | ( | bool | visible | ) |
Sets whether or not the series points should be visible.
visible | True if the series points should be visible. |
vtkQtPointMarker::MarkerStyle vtkQtLineChartSeriesOptions::getMarkerStyle | ( | ) | const |
Gets the series marker style.
void vtkQtLineChartSeriesOptions::setMarkerStyle | ( | vtkQtPointMarker::MarkerStyle | style | ) |
Sets the series marker style.
style | The new series marker style. |
const QSizeF& vtkQtLineChartSeriesOptions::getMarkerSize | ( | ) | const |
Gets the marker size for the series.
void vtkQtLineChartSeriesOptions::setMarkerSize | ( | const QSizeF & | size | ) |
Sets the marker size for the series.
size | The new series marker size. |
void vtkQtLineChartSeriesOptions::axesCornerChanged | ( | int | corner, | |
int | previous | |||
) | [signal] |
Emitted when the series axes corner changes.
corner | The new axes corner. | |
previous | The previous axes corner. |
void vtkQtLineChartSeriesOptions::pointVisibilityChanged | ( | bool | visible | ) | [signal] |
Emitted when the series point visibility changes.
visible | True if the series points should be visible. |
void vtkQtLineChartSeriesOptions::pointMarkerChanged | ( | ) | [signal] |
Emitted when the point marker style or size has changed.
Stores the axes corner.
Definition at line 121 of file vtkQtLineChartSeriesOptions.h.
Stores the marker style.
Definition at line 122 of file vtkQtLineChartSeriesOptions.h.
QSizeF* vtkQtLineChartSeriesOptions::PointSize [protected] |
Stores the marker size.
Definition at line 123 of file vtkQtLineChartSeriesOptions.h.
bool vtkQtLineChartSeriesOptions::ShowPoints [protected] |
True if points are shown.
Definition at line 124 of file vtkQtLineChartSeriesOptions.h.