#include <UPlot.h>
UPlotCurve is a curve used to hold data shown in a UPlot. 
Definition at line 90 of file UPlot.h.
      
        
          | UPlotCurve::UPlotCurve | ( | const QString & | name, | 
        
          |  |  | QObject * | parent = 0 | 
        
          |  | ) |  |  | 
      
 
 
      
        
          | UPlotCurve::UPlotCurve | ( | const QString & | name, | 
        
          |  |  | const QVector< UPlotItem * > | data, | 
        
          |  |  | QObject * | parent = 0 | 
        
          |  | ) |  |  | 
      
 
 
      
        
          | UPlotCurve::UPlotCurve | ( | const QString & | name, | 
        
          |  |  | const QVector< float > & | x, | 
        
          |  |  | const QVector< float > & | y, | 
        
          |  |  | QObject * | parent = 0 | 
        
          |  | ) |  |  | 
      
 
 
  
  | 
        
          | UPlotCurve::~UPlotCurve | ( |  | ) |  |  | virtual | 
 
 
  
  | 
        
          | void UPlotCurve::_addValue | ( | UPlotItem * | data | ) |  |  | protected | 
 
 
  
  | 
        
          | void UPlotCurve::addValue | ( | UPlotItem * | data | ) |  |  | slot | 
 
 
  
  | 
        
          | void UPlotCurve::addValue | ( | float | y | ) |  |  | slot | 
 
 
  
  | 
        
          | void UPlotCurve::addValue | ( | float | x, |  
          |  |  | float | y |  
          |  | ) |  |  |  | slot | 
 
Add a single value y at x. 
Definition at line 426 of file UPlot.cpp.
 
 
  
  | 
        
          | void UPlotCurve::addValue | ( | const QString & | y | ) |  |  | slot | 
 
 
  
  | 
        
          | void UPlotCurve::addValues | ( | QVector< UPlotItem * > & | data | ) |  |  | slot | 
 
For convenience... Add multiple values, using custom UPlotItem. 
Definition at line 461 of file UPlot.cpp.
 
 
  
  | 
        
          | void UPlotCurve::addValues | ( | const QVector< float > & | xs, |  
          |  |  | const QVector< float > & | ys |  
          |  | ) |  |  |  | slot | 
 
Add multiple values y at x. Vectors must have the same size. 
Definition at line 470 of file UPlot.cpp.
 
 
  
  | 
        
          | void UPlotCurve::addValues | ( | const QVector< float > & | ys | ) |  |  | slot | 
 
 
  
  | 
        
          | void UPlotCurve::addValues | ( | const QVector< int > & | ys | ) |  |  | slot | 
 
 
  
  | 
        
          | void UPlotCurve::addValues | ( | const std::vector< float > & | ys | ) |  |  | slot | 
 
 
  
  | 
        
          | void UPlotCurve::addValues | ( | const std::vector< int > & | ys | ) |  |  | slot | 
 
 
  
  | 
        
          | void UPlotCurve::attach | ( | UPlot * | plot | ) |  |  | protected | 
 
 
  
  | 
        
          | const QBrush& UPlotCurve::brush | ( |  | ) | const |  | inline | 
 
Get brush. 
Definition at line 116 of file UPlot.h.
 
 
  
  | 
        
          | void UPlotCurve::clear | ( |  | ) |  |  | virtualslot | 
 
 
  
  | 
        
          | void UPlotCurve::dataChanged | ( | const UPlotCurve * |  | ) |  |  | signal | 
 
emitted when data is changed. 
 
 
  
  | 
        
          | void UPlotCurve::detach | ( | UPlot * | plot | ) |  |  | protected | 
 
 
      
        
          | void UPlotCurve::draw | ( | QPainter * | painter | ) |  | 
      
 
 
      
        
          | void UPlotCurve::getData | ( | QVector< float > & | x, | 
        
          |  |  | QVector< float > & | y | 
        
          |  | ) |  | const | 
      
 
 
      
        
          | QPointF UPlotCurve::getItemData | ( | int | index | ) |  | 
      
 
 
  
  | 
        
          | const QVector<float>& UPlotCurve::getMinMax | ( |  | ) | const |  | inlineprotected | 
 
 
  
  | 
        
          | virtual bool UPlotCurve::isMinMaxValid | ( |  | ) | const |  | inlineprotectedvirtual | 
 
 
  
  | 
        
          | bool UPlotCurve::isVisible | ( |  | ) | const |  | inline | 
 
 
      
        
          | int UPlotCurve::itemsSize | ( |  | ) | const | 
      
 
Get the number of items in the curve (dot + line items). 
Definition at line 772 of file UPlot.cpp.
 
 
  
  | 
        
          | QString UPlotCurve::name | ( |  | ) | const |  | inline | 
 
 
  
  | 
        
          | const QPen& UPlotCurve::pen | ( |  | ) | const |  | inline | 
 
 
  
  | 
        
          | int UPlotCurve::removeItem | ( | int | index | ) |  |  | protected | 
 
 
  
  | 
        
          | void UPlotCurve::removeItem | ( | UPlotItem * | item | ) |  |  | private | 
 
 
      
        
          | void UPlotCurve::setBrush | ( | const QBrush & | brush | ) |  | 
      
 
 
      
        
          | void UPlotCurve::setData | ( | QVector< UPlotItem * > & | data | ) |  | 
      
 
 
      
        
          | void UPlotCurve::setData | ( | const QVector< float > & | x, | 
        
          |  |  | const QVector< float > & | y | 
        
          |  | ) |  |  | 
      
 
 
      
        
          | void UPlotCurve::setData | ( | const std::vector< float > & | x, | 
        
          |  |  | const std::vector< float > & | y | 
        
          |  | ) |  |  | 
      
 
 
      
        
          | void UPlotCurve::setData | ( | const QVector< float > & | y | ) |  | 
      
 
 
      
        
          | void UPlotCurve::setData | ( | const std::vector< float > & | y | ) |  | 
      
 
 
      
        
          | void UPlotCurve::setPen | ( | const QPen & | pen | ) |  | 
      
 
 
  
  | 
        
          | void UPlotCurve::setVisible | ( | bool | visible | ) |  |  | slot | 
 
Show or hide the curve. 
Definition at line 792 of file UPlot.cpp.
 
 
  
  | 
        
          | void UPlotCurve::setXIncrement | ( | float | increment | ) |  |  | slot | 
 
Set increment of the x values (when auto-increment is used). 
Definition at line 801 of file UPlot.cpp.
 
 
  
  | 
        
          | void UPlotCurve::setXStart | ( | float | val | ) |  |  | slot | 
 
Set starting x value (when auto-increment is used). 
Definition at line 806 of file UPlot.cpp.
 
 
  
  | 
        
          | void UPlotCurve::update | ( | float | scaleX, |  
          |  |  | float | scaleY, |  
          |  |  | float | offsetX, |  
          |  |  | float | offsetY, |  
          |  |  | float | xDir, |  
          |  |  | float | yDir, |  
          |  |  | bool | allDataKept |  
          |  | ) |  |  |  | protectedvirtual | 
 
 
  
  | 
        
          | void UPlotCurve::updateMinMax | ( |  | ) |  |  | protected | 
 
 
  
  | 
        
          | QBrush UPlotCurve::_brush |  | private | 
 
 
  
  | 
        
          | QList<QGraphicsItem *> UPlotCurve::_items |  | protected | 
 
 
  
  | 
        
          | QVector<float> UPlotCurve::_minMax |  | private | 
 
 
  
  | 
        
          | QString UPlotCurve::_name |  | private | 
 
 
  
  | 
        
          | bool UPlotCurve::_valuesShown |  | private | 
 
 
  
  | 
        
          | bool UPlotCurve::_visible |  | private | 
 
 
  
  | 
        
          | float UPlotCurve::_xIncrement |  | private | 
 
 
  
  | 
        
          | float UPlotCurve::_xStart |  | private | 
 
 
The documentation for this class was generated from the following files: