A class to represent a scatter chart.
More...
#include <ScatterChart.h>
A class to represent a scatter chart.
Definition at line 55 of file ScatterChart.h.
te::qt::widgets::ScatterChart::ScatterChart |
( |
Scatter * |
data | ) |
|
Constructor.
It constructs a scatter chart with a default mark and size.
- Note
- It will take the ownership of the pointers.
-
it will construct a chart with a default style.
te::qt::widgets::ScatterChart::ScatterChart |
( |
Scatter * |
data, |
|
|
ScatterStyle * |
style, |
|
|
size_t |
size |
|
) |
| |
Constructor.
- Note
- It will take the ownership of the pointer "style".
-
It will take the ownership of the pointer "data".
te::qt::widgets::ScatterChart::~ScatterChart |
( |
| ) |
|
It returns the chart's scatter.
- Returns
- The chart's scatter.
ScatterStyle* te::qt::widgets::ScatterChart::getScatterStyle |
( |
| ) |
|
Returns a clone of the pointer to the scatter's style.
- Returns
- A ScatterStyle type pointer to the scatter's style.
- Note
- The caller will take ownership of the returned pointer.
Highlights the objects identified by oids.
- Parameters
-
oids | The identifiers of plotitems to be highlighted. |
Highlights the intervals identified by point.
- Parameters
-
point | The point to be highlighted. |
Highlights the intervals contained by rectangle.
- Parameters
-
rect | The rectangle containing the intervals to be highlighted. |
virtual int te::qt::widgets::ScatterChart::rtti |
( |
| ) |
const |
|
virtual |
Returns the chart's type.
void te::qt::widgets::ScatterChart::setData |
( |
| ) |
|
It sets the chart's scatter.
- Parameters
-
newHistogram | The chart's new scatter. |
- Note
- It will take the ownership of the pointer "newScatter".
void te::qt::widgets::ScatterChart::setScatterStyle |
( |
ScatterStyle * |
newStyle | ) |
|
It sets the chart's style.
- Parameters
-
newStyle | The chart's new style. |
- Note
- It will take the ownership of the pointer "newStyle".
void te::qt::widgets::ScatterChart::setSelectionColor |
( |
QColor |
selColor | ) |
|
color used to hgihlight selected objects on this chart.
- Parameters
-
selColor | The color used to hgihlight selected objects on this chart. |
Scatter* te::qt::widgets::ScatterChart::m_scatter |
|
private |
The scatter that will be shown on this chart.
Definition at line 146 of file ScatterChart.h.
The symbol that defines the look of a scatter's point.
Definition at line 147 of file ScatterChart.h.
QColor te::qt::widgets::ScatterChart::m_selColor |
|
private |
The color used to highlight selected obecjts.
Definition at line 148 of file ScatterChart.h.
QwtPlotCurve* te::qt::widgets::ScatterChart::m_selection |
|
private |
The PlotItems to be highlighted when a selection occurs;.
Definition at line 149 of file ScatterChart.h.
The documentation for this class was generated from the following file:
- /home/castejon/castejon_files/develop/terralib5/git_master/src/terralib/qt/widgets/charts/ScatterChart.h