Public Member Functions |
QwtDoubleRect | boundingRect () const |
int | capLength () |
QColor | color () |
void | copy (const ErrorBarsCurve *e) |
void | detachFromMasterCurve () |
| Causes the master curve to delete this curve from its managed error bars list.
|
int | direction () |
void | drawMinusSide (bool yes) |
void | drawPlusSide (bool yes) |
void | drawThroughSymbol (bool yes) |
| ErrorBarsCurve (int orientation, Table *t, const QString &name) |
| ErrorBarsCurve (Table *t, const QString &name) |
QwtArray< double > | errors () |
double | errorValue (int i) |
void | loadData () |
DataCurve * | masterCurve () |
| Returns the master curve to which this error bars curve is attached.
|
bool | minusSide () |
QStringList | plotAssociation () |
| A list of data sources for this curve.
|
bool | plusSide () |
void | setCapLength (int t) |
void | setColor (const QColor &c) |
void | setDirection (int o) |
void | setErrors (const QwtArray< double > &data) |
void | setMasterCurve (DataCurve *c) |
void | setWidth (double w) |
void | setXErrors (bool yes) |
bool | throughSymbol () |
bool | updateData (Table *t, const QString &colName) |
double | width () |
bool | xErrors () |
void | addErrorBars (ErrorBarsCurve *c) |
| Adds a single error bars curve to the list of attached error bars.
|
void | clearErrorBars () |
| Clears the list of attached error bars.
|
void | clearLabels () |
| Clears the list of attached text labels.
|
void | clone (DataCurve *c) |
| DataCurve (Table *t, const QString &xColName, const QString &name, int startRow=0, int endRow=-1) |
| DataCurve (Table *xt, const QString &xColName, Table *yt, const QString &name, int startRow=0, int endRow=-1) |
void | enableSpeedMode () |
int | endRow () |
QList< ErrorBarsCurve * > | errorBarsList () |
| The list of attached error bars.
|
bool | hasLabels () |
bool | hasSelectedLabels () |
bool | hasVisibleLabels () |
bool | isFullRange () |
int | labelsAlignment () |
QColor | labelsColor () |
QString | labelsColumnName () |
QFont | labelsFont () |
double | labelsRotation () |
bool | labelsWhiteOut () |
int | labelsXOffset () |
int | labelsYOffset () |
void | moveLabels (const QPoint &pos) |
void | remove () |
void | removeErrorBars (ErrorBarsCurve *c) |
| Remove a single error bars curve from the list of attached error bars.
|
void | restoreLabels (const QStringList &lst) |
virtual QString | saveToString () |
bool | selectedLabels (const QPoint &pos) |
void | setDataSource (Table *yt, int ycol=1, Table *xt=NULL, int xcol=0) |
void | setFullRange () |
void | setLabelsAlignment (int flags) |
void | setLabelsColor (const QColor &c) |
void | setLabelsColumnName (const QString &name) |
void | setLabelsFont (const QFont &font) |
void | setLabelsOffset (int x, int y) |
void | setLabelsRotation (double angle) |
void | setLabelsSelected (bool on=true) |
void | setLabelsWhiteOut (bool whiteOut=true) |
void | setRowRange (int startRow, int endRow) |
void | setVisible (bool on) |
void | setVisibleLabels (bool on=true) |
void | setXColumnName (const QString &name) |
int | startRow () |
Table * | table () |
int | tableRow (int point) |
| Returns the row index in the data source table corresponding to the data point index.
|
virtual void | updateColumnNames (const QString &oldName, const QString &newName, bool updateTableName) |
virtual void | updateLabelsPosition () |
QString | xColumnName () |
Table * | xTable () |
void | enableSideLines (bool on) |
| PlotCurve (const QString &name=QString()) |
int | plotStyle () |
| The plot style of the curve.
|
void | restoreCurveLayout (const QStringList &lst) |
QString | saveCurveLayout () |
QString | saveCurveSymbolImage () |
void | setPlotStyle (int s) |
void | setSkipSymbolsCount (int count) |
| Set the number of symbols not to be drawn: usefull for large data sets.
|
void | setType (int t) |
void | setXOffset (double dx) |
void | setYOffset (double dy) |
bool | sideLinesEnabled () |
int | skipSymbolsCount () |
| Returns the number of symbols not to be drawn.
|
int | type () |
| Sort of rtti()
|
double | xOffset () |
double | yOffset () |
Additional Inherited Members |
virtual void | drawCurve (QPainter *p, int style, const QwtScaleMap &xMap, const QwtScaleMap &yMap, int from, int to) const |
virtual void | loadLabels () |
bool | validCurveType () |
void | drawSideLines (QPainter *p, const QwtScaleMap &xMap, const QwtScaleMap &yMap, int from, int to) const |
void | drawSticks (QPainter *p, const QwtScaleMap &xMap, const QwtScaleMap &yMap, int from, int to) const |
virtual void | drawSymbols (QPainter *p, const QwtSymbol &, const QwtScaleMap &xMap, const QwtScaleMap &yMap, int from, int to) const |
| Draw symbols.
|
double | d_click_pos_x |
| Keep track of the coordinates of the point where the user clicked when selecting the labels.
|
double | d_click_pos_y |
std::vector< DataRange > | d_data_ranges |
int | d_end_row |
QList< ErrorBarsCurve * > | d_error_bars |
| List of the error bar curves associated to this curve.
|
int | d_labels_align |
double | d_labels_angle |
QColor | d_labels_color |
QString | d_labels_column |
| The name of the column used for text labels.
|
QFont | d_labels_font |
QList< PlotMarker * > | d_labels_list |
| List of the text labels associated to this curve.
|
int | d_labels_x_offset |
int | d_labels_y_offset |
PlotMarker * | d_selected_label |
| Keeps track of the plot marker on which the user clicked when selecting the labels.
|
bool | d_show_labels |
int | d_start_row |
Table * | d_table |
| The data source table.
|
bool | d_white_out_labels |
QString | d_x_column |
| The name of the column used for abscissae values.
|
Table * | d_x_table |
| The data source table in case X and Y datasets are from different tables.
|
int | d_plot_style |
bool | d_side_lines |
int | d_skip_symbols |
int | d_type |
double | d_x_offset |
double | d_y_offset |
QStringList ErrorBarsCurve::plotAssociation |
( |
| ) |
|
|
virtual |
A list of data sources for this curve.
Elements must be in either of the following forms:
- <id of X column> "(X)," <id of Y column> "(Y)" [ "," <id of error column> ("(xErr)" | "(yErr)") ]
- <id of Xstart column> "(X)," <id of Ystart column>"(Y)," <id of Xend column> "(X)," <id of Yend column> "(Y)"
(denoting start and end coordinates for the #VectXYXY style)
- <id of Xstart column> "(X)," <id of Ystart column> "(Y)," <id of angle column> "(A)," <id of magnitude column> "(M)"
(denoting start coordinates, angle in radians and length for the #VectXYAM style)
Column ids are of the form '<name of table> "_" <name of column>'.
Reimplemented from DataCurve.
References d_master_curve, Horizontal, PlotCurve::type(), and DataCurve::xColumnName().