#include <omgdataseries.h>
Collaboration diagram for OmgDataSeries:
Definition at line 34 of file omgdataseries.h.
Public Member Functions | ||||
OmgDataSeries () | ||||
virtual | ~OmgDataSeries () | |||
OmgDataSeries & | operator<< (const double &theYValue) | |||
OmgDataSeries & | operator<< (const QPair< double, double > &thePair) | |||
int | size () const | |||
double | xMin () const | |||
double | xMax () const | |||
double | yMin () const | |||
double | yMax () const | |||
void | sortX (Qt::SortOrder theOrder=Qt::DescendingOrder) | |||
void | sortY (Qt::SortOrder theOrder=Qt::DescendingOrder) | |||
QList< double > | yValuesList () const | |||
void | setYValuesList (QList< double > theValues) | |||
Set the list of Y values in the data series. When using this method, the X values will be autogenerated using range [0,yValuesList.size()-1]. If you wish to use this method without disturbing the X values, use setXYValueLists(QList<double>,QList<double>)
| ||||
QList< double > | xValuesList () const | |||
void | setXValuesList (QList< double > theValues) | |||
Set the list of X values in the data series. When using this method, the X values will be autogenerated using range [0,xValuesList.size()-1]. If you wish to use this method without disturbing the X values, use setXYValueLists(QList<double>,QList<double>)
| ||||
void | setXYValueLists (QList< double > theXValues, QList< double > theYValues) | |||
double | xAt (int thePosition) | |||
double | yAt (int thePosition) | |||
QString | xLabel () | |||
void | setXLabel (QString theLabel) | |||
QString | yLabel () | |||
void | setYLabel (QString theLabel) | |||
QString | label () | |||
void | setLabel (QString theLabel) | |||
QColor | lineColor () | |||
void | setLineColor (QColor theColor) | |||
QColor | fillColor () | |||
void | setFillColor (QColor theColor) | |||
Private Attributes | ||||
QString | mXLabel | |||
QString | mYLabel | |||
QString | mLabel | |||
QList< double > | mYList | |||
QList< double > | mXList | |||
QColor | mLineColor | |||
QColor | mFillColor |
|
Constructor . Definition at line 21 of file omgdataseries.cpp. References mFillColor, mLineColor, and Omgui::randomColour(). |
Here is the call graph for this function:
|
Desctructor . Definition at line 26 of file omgdataseries.cpp. |
|
Definition at line 230 of file omgdataseries.cpp. References mFillColor. Referenced by OmgGraph::makeLegend(), OmgGraph::render(), OmgExperiment::summaryMapToGraph(), and OmgDataSeriesTest::testBasicFunctions(). |
|
Definition at line 210 of file omgdataseries.cpp. References mLabel. Referenced by OmgGraph::calculateLegendHeight(), OmgGraph::makeLegend(), and OmgDataSeriesTest::testBasicFunctions(). |
|
Definition at line 220 of file omgdataseries.cpp. References mLineColor. Referenced by OmgGraph::makeLegend(), OmgGraph::render(), and OmgDataSeriesTest::testBasicFunctions(). |
|
Operator for appending a new value X,Y to the series.
Definition at line 55 of file omgdataseries.h. |
|
Operator for appending a new value Y to the series, X will be assigned the value of the length of the new Y list after insert
Definition at line 45 of file omgdataseries.h. |
|
Definition at line 235 of file omgdataseries.cpp. References mFillColor. Referenced by OmgModel::createRocGraph(), OmgGraphTest::initTestCase(), OmgExperiment::summaryMapToGraph(), OmgDataSeriesTest::testBasicFunctions(), and OmgModel::toHtml(). |
|
Definition at line 215 of file omgdataseries.cpp. References mLabel. Referenced by OmgModel::getRocPoints(), OmgGraphTest::initTestCase(), OmgExperiment::summaryMapToGraph(), OmgDataSeriesTest::testBasicFunctions(), and OmgModel::toHtml(). |
|
Definition at line 225 of file omgdataseries.cpp. References mLineColor. Referenced by OmgModel::createRocGraph(), OmgGraphTest::initTestCase(), OmgExperiment::summaryMapToGraph(), OmgDataSeriesTest::testBasicFunctions(), and OmgModel::toHtml(). |
|
Definition at line 195 of file omgdataseries.cpp. References mXLabel. |
|
Set the list of X values in the data series. When using this method, the X values will be autogenerated using range [0,xValuesList.size()-1]. If you wish to use this method without disturbing the X values, use setXYValueLists(QList<double>,QList<double>)
Definition at line 155 of file omgdataseries.cpp. |
|
Set the x and y value lists
Definition at line 184 of file omgdataseries.cpp. |
|
Definition at line 205 of file omgdataseries.cpp. References mYLabel. |
|
Set the list of Y values in the data series. When using this method, the X values will be autogenerated using range [0,yValuesList.size()-1]. If you wish to use this method without disturbing the X values, use setXYValueLists(QList<double>,QList<double>)
Definition at line 172 of file omgdataseries.cpp. References mXList, and mYList. Referenced by OmgGraphTest::initTestCase(), and OmgExperiment::summaryMapToGraph(). |
|
The number of items in the series
Definition at line 30 of file omgdataseries.cpp. References mYList. Referenced by OmgGraph::render(), and OmgDataSeriesTest::testBasicFunctions(). |
|
Sort the data in the series X value list
Definition at line 126 of file omgdataseries.cpp. References mXList. |
|
Sort the data in teh series Y value list
Definition at line 138 of file omgdataseries.cpp. References mYList. Referenced by OmgDataSeriesTest::testBasicFunctions(). |
|
The value of the x axis at the given position.
Definition at line 34 of file omgdataseries.cpp. References mXList. Referenced by OmgGraphTest::initTestCase(), OmgGraph::render(), and OmgDataSeriesTest::testBasicFunctions(). |
|
Definition at line 190 of file omgdataseries.cpp. References mXLabel. |
|
Get the maximum value in the data series X axis
Definition at line 92 of file omgdataseries.cpp. References mXList. Referenced by OmgGraph::render(), and OmgDataSeriesTest::testBasicFunctions(). |
|
Get the minimum value in the data series X axis
Definition at line 58 of file omgdataseries.cpp. References mXList. Referenced by OmgGraph::render(), and OmgDataSeriesTest::testBasicFunctions(). |
|
Definition at line 150 of file omgdataseries.cpp. References mXList. |
|
The value of the y axis at the given position.
Definition at line 46 of file omgdataseries.cpp. References mYList. Referenced by OmgGraph::render(), and OmgDataSeriesTest::testBasicFunctions(). |
|
Definition at line 200 of file omgdataseries.cpp. References mYLabel. |
|
Get the maximum value in the data series Y axis
Definition at line 109 of file omgdataseries.cpp. References mYList. Referenced by OmgGraph::render(), and OmgDataSeriesTest::testBasicFunctions(). |
|
Get the minimum value in the data series Y axis
Definition at line 75 of file omgdataseries.cpp. References mYList. Referenced by OmgGraph::render(), and OmgDataSeriesTest::testBasicFunctions(). |
|
Definition at line 167 of file omgdataseries.cpp. References mYList. Referenced by OmgDataSeriesTest::testBasicFunctions(). |
|
Definition at line 156 of file omgdataseries.h. Referenced by fillColor(), OmgDataSeries(), and setFillColor(). |
|
Definition at line 152 of file omgdataseries.h. Referenced by label(), and setLabel(). |
|
Definition at line 155 of file omgdataseries.h. Referenced by lineColor(), OmgDataSeries(), and setLineColor(). |
|
Definition at line 150 of file omgdataseries.h. Referenced by setXLabel(), and xLabel(). |
|
Definition at line 154 of file omgdataseries.h. Referenced by setXValuesList(), setXYValueLists(), setYValuesList(), sortX(), xAt(), xMax(), xMin(), and xValuesList(). |
|
Definition at line 151 of file omgdataseries.h. Referenced by setYLabel(), and yLabel(). |
|
Definition at line 153 of file omgdataseries.h. Referenced by setXValuesList(), setXYValueLists(), setYValuesList(), size(), sortY(), yAt(), yMax(), yMin(), and yValuesList(). |