QCPGraph Class Reference

#include </home/florent/devel/release/src/gepetto-viewer/plugins/pyqcustomplot/qcustomplot-1.3.2/qcustomplot.h>

Inheritance diagram for QCPGraph:
Collaboration diagram for QCPGraph:

Public Types

enum  LineStyle {
  lsNone, lsLine, lsStepLeft, lsStepRight,
  lsStepCenter, lsImpulse, lsNone, lsLine,
  lsStepLeft, lsStepRight, lsStepCenter, lsImpulse,
  lsNone, lsLine, lsStepLeft, lsStepRight,
  lsStepCenter, lsImpulse
}
 
enum  ErrorType {
  etNone, etKey, etValue, etBoth,
  etNone, etKey, etValue, etBoth
}
 
enum  LineStyle {
  lsNone, lsLine, lsStepLeft, lsStepRight,
  lsStepCenter, lsImpulse, lsNone, lsLine,
  lsStepLeft, lsStepRight, lsStepCenter, lsImpulse,
  lsNone, lsLine, lsStepLeft, lsStepRight,
  lsStepCenter, lsImpulse
}
 
enum  LineStyle {
  lsNone, lsLine, lsStepLeft, lsStepRight,
  lsStepCenter, lsImpulse, lsNone, lsLine,
  lsStepLeft, lsStepRight, lsStepCenter, lsImpulse,
  lsNone, lsLine, lsStepLeft, lsStepRight,
  lsStepCenter, lsImpulse
}
 
enum  ErrorType {
  etNone, etKey, etValue, etBoth,
  etNone, etKey, etValue, etBoth
}
 

Public Member Functions

 QCPGraph (QCPAxis *keyAxis, QCPAxis *valueAxis)
 
virtual ~QCPGraph ()
 
QCPDataMapdata () const
 
LineStyle lineStyle () const
 
QCPScatterStyle scatterStyle () const
 
ErrorType errorType () const
 
QPen errorPen () const
 
double errorBarSize () const
 
bool errorBarSkipSymbol () const
 
QCPGraphchannelFillGraph () const
 
bool adaptiveSampling () const
 
void setData (QCPDataMap *data, bool copy=false)
 
void setData (const QVector< double > &key, const QVector< double > &value)
 
void setDataKeyError (const QVector< double > &key, const QVector< double > &value, const QVector< double > &keyError)
 
void setDataKeyError (const QVector< double > &key, const QVector< double > &value, const QVector< double > &keyErrorMinus, const QVector< double > &keyErrorPlus)
 
void setDataValueError (const QVector< double > &key, const QVector< double > &value, const QVector< double > &valueError)
 
void setDataValueError (const QVector< double > &key, const QVector< double > &value, const QVector< double > &valueErrorMinus, const QVector< double > &valueErrorPlus)
 
void setDataBothError (const QVector< double > &key, const QVector< double > &value, const QVector< double > &keyError, const QVector< double > &valueError)
 
void setDataBothError (const QVector< double > &key, const QVector< double > &value, const QVector< double > &keyErrorMinus, const QVector< double > &keyErrorPlus, const QVector< double > &valueErrorMinus, const QVector< double > &valueErrorPlus)
 
void setLineStyle (LineStyle ls)
 
void setScatterStyle (const QCPScatterStyle &style)
 
void setErrorType (ErrorType errorType)
 
void setErrorPen (const QPen &pen)
 
void setErrorBarSize (double size)
 
void setErrorBarSkipSymbol (bool enabled)
 
void setChannelFillGraph (QCPGraph *targetGraph)
 
void setAdaptiveSampling (bool enabled)
 
void addData (const QCPDataMap &dataMap)
 
void addData (const QCPData &data)
 
void addData (double key, double value)
 
void addData (const QVector< double > &keys, const QVector< double > &values)
 
void removeDataBefore (double key)
 
void removeDataAfter (double key)
 
void removeData (double fromKey, double toKey)
 
void removeData (double key)
 
virtual void clearData ()
 
virtual double selectTest (const QPointF &pos, bool onlySelectable, QVariant *details=0) const
 
void rescaleAxes (bool onlyEnlarge, bool includeErrorBars) const
 
void rescaleKeyAxis (bool onlyEnlarge, bool includeErrorBars) const
 
void rescaleValueAxis (bool onlyEnlarge, bool includeErrorBars) const
 
 QCPGraph (QCPAxis *keyAxis, QCPAxis *valueAxis)
 
virtual ~QCPGraph ()
 
QSharedPointer< QCPGraphDataContainerdata () const
 
LineStyle lineStyle () const
 
QCPScatterStyle scatterStyle () const
 
int scatterSkip () const
 
QCPGraphchannelFillGraph () const
 
bool adaptiveSampling () const
 
void setData (QSharedPointer< QCPGraphDataContainer > data)
 
void setData (const QVector< double > &keys, const QVector< double > &values, bool alreadySorted=false)
 
void setLineStyle (LineStyle ls)
 
void setScatterStyle (const QCPScatterStyle &style)
 
void setScatterSkip (int skip)
 
void setChannelFillGraph (QCPGraph *targetGraph)
 
void setAdaptiveSampling (bool enabled)
 
void addData (const QVector< double > &keys, const QVector< double > &values, bool alreadySorted=false)
 
void addData (double key, double value)
 
virtual double selectTest (const QPointF &pos, bool onlySelectable, QVariant *details=0) const Q_DECL_OVERRIDE
 
virtual QCPRange getKeyRange (bool &foundRange, QCP::SignDomain inSignDomain=QCP::sdBoth) const Q_DECL_OVERRIDE
 
virtual QCPRange getValueRange (bool &foundRange, QCP::SignDomain inSignDomain=QCP::sdBoth, const QCPRange &inKeyRange=QCPRange()) const Q_DECL_OVERRIDE
 
 QCPGraph (QCPAxis *keyAxis, QCPAxis *valueAxis)
 
virtual ~QCPGraph ()
 
QCPDataMapdata () const
 
LineStyle lineStyle () const
 
QCPScatterStyle scatterStyle () const
 
ErrorType errorType () const
 
QPen errorPen () const
 
double errorBarSize () const
 
bool errorBarSkipSymbol () const
 
QCPGraphchannelFillGraph () const
 
bool adaptiveSampling () const
 
void setData (QCPDataMap *data, bool copy=false)
 
void setData (const QVector< double > &key, const QVector< double > &value)
 
void setDataKeyError (const QVector< double > &key, const QVector< double > &value, const QVector< double > &keyError)
 
void setDataKeyError (const QVector< double > &key, const QVector< double > &value, const QVector< double > &keyErrorMinus, const QVector< double > &keyErrorPlus)
 
void setDataValueError (const QVector< double > &key, const QVector< double > &value, const QVector< double > &valueError)
 
void setDataValueError (const QVector< double > &key, const QVector< double > &value, const QVector< double > &valueErrorMinus, const QVector< double > &valueErrorPlus)
 
void setDataBothError (const QVector< double > &key, const QVector< double > &value, const QVector< double > &keyError, const QVector< double > &valueError)
 
void setDataBothError (const QVector< double > &key, const QVector< double > &value, const QVector< double > &keyErrorMinus, const QVector< double > &keyErrorPlus, const QVector< double > &valueErrorMinus, const QVector< double > &valueErrorPlus)
 
void setLineStyle (LineStyle ls)
 
void setScatterStyle (const QCPScatterStyle &style)
 
void setErrorType (ErrorType errorType)
 
void setErrorPen (const QPen &pen)
 
void setErrorBarSize (double size)
 
void setErrorBarSkipSymbol (bool enabled)
 
void setChannelFillGraph (QCPGraph *targetGraph)
 
void setAdaptiveSampling (bool enabled)
 
void addData (const QCPDataMap &dataMap)
 
void addData (const QCPData &data)
 
void addData (double key, double value)
 
void addData (const QVector< double > &keys, const QVector< double > &values)
 
void removeDataBefore (double key)
 
void removeDataAfter (double key)
 
void removeData (double fromKey, double toKey)
 
void removeData (double key)
 
virtual void clearData ()
 
virtual double selectTest (const QPointF &pos, bool onlySelectable, QVariant *details=0) const
 
void rescaleAxes (bool onlyEnlarge, bool includeErrorBars) const
 
void rescaleKeyAxis (bool onlyEnlarge, bool includeErrorBars) const
 
void rescaleValueAxis (bool onlyEnlarge, bool includeErrorBars) const
 
- Public Member Functions inherited from QCPAbstractPlottable
 QCPAbstractPlottable (QCPAxis *keyAxis, QCPAxis *valueAxis)
 
QString name () const
 
bool antialiasedFill () const
 
bool antialiasedScatters () const
 
bool antialiasedErrorBars () const
 
QPen pen () const
 
QPen selectedPen () const
 
QBrush brush () const
 
QBrush selectedBrush () const
 
QCPAxiskeyAxis () const
 
QCPAxisvalueAxis () const
 
bool selectable () const
 
bool selected () const
 
void setName (const QString &name)
 
void setAntialiasedFill (bool enabled)
 
void setAntialiasedScatters (bool enabled)
 
void setAntialiasedErrorBars (bool enabled)
 
void setPen (const QPen &pen)
 
void setSelectedPen (const QPen &pen)
 
void setBrush (const QBrush &brush)
 
void setSelectedBrush (const QBrush &brush)
 
void setKeyAxis (QCPAxis *axis)
 
void setValueAxis (QCPAxis *axis)
 
Q_SLOT void setSelectable (bool selectable)
 
Q_SLOT void setSelected (bool selected)
 
virtual bool addToLegend ()
 
virtual bool removeFromLegend () const
 
void rescaleAxes (bool onlyEnlarge=false) const
 
void rescaleKeyAxis (bool onlyEnlarge=false) const
 
void rescaleValueAxis (bool onlyEnlarge=false) const
 
 QCPAbstractPlottable (QCPAxis *keyAxis, QCPAxis *valueAxis)
 
virtual ~QCPAbstractPlottable ()
 
QString name () const
 
bool antialiasedFill () const
 
bool antialiasedScatters () const
 
QPen pen () const
 
QBrush brush () const
 
QCPAxiskeyAxis () const
 
QCPAxisvalueAxis () const
 
QCP::SelectionType selectable () const
 
bool selected () const
 
QCPDataSelection selection () const
 
QCPSelectionDecoratorselectionDecorator () const
 
void setName (const QString &name)
 
void setAntialiasedFill (bool enabled)
 
void setAntialiasedScatters (bool enabled)
 
void setPen (const QPen &pen)
 
void setBrush (const QBrush &brush)
 
void setKeyAxis (QCPAxis *axis)
 
void setValueAxis (QCPAxis *axis)
 
Q_SLOT void setSelectable (QCP::SelectionType selectable)
 
Q_SLOT void setSelection (QCPDataSelection selection)
 
void setSelectionDecorator (QCPSelectionDecorator *decorator)
 
void coordsToPixels (double key, double value, double &x, double &y) const
 
const QPointF coordsToPixels (double key, double value) const
 
void pixelsToCoords (double x, double y, double &key, double &value) const
 
void pixelsToCoords (const QPointF &pixelPos, double &key, double &value) const
 
void rescaleAxes (bool onlyEnlarge=false) const
 
void rescaleKeyAxis (bool onlyEnlarge=false) const
 
void rescaleValueAxis (bool onlyEnlarge=false, bool inKeyRange=false) const
 
bool addToLegend (QCPLegend *legend)
 
bool addToLegend ()
 
bool removeFromLegend (QCPLegend *legend) const
 
bool removeFromLegend () const
 
 QCPAbstractPlottable (QCPAxis *keyAxis, QCPAxis *valueAxis)
 
QString name () const
 
bool antialiasedFill () const
 
bool antialiasedScatters () const
 
bool antialiasedErrorBars () const
 
QPen pen () const
 
QPen selectedPen () const
 
QBrush brush () const
 
QBrush selectedBrush () const
 
QCPAxiskeyAxis () const
 
QCPAxisvalueAxis () const
 
bool selectable () const
 
bool selected () const
 
void setName (const QString &name)
 
void setAntialiasedFill (bool enabled)
 
void setAntialiasedScatters (bool enabled)
 
void setAntialiasedErrorBars (bool enabled)
 
void setPen (const QPen &pen)
 
void setSelectedPen (const QPen &pen)
 
void setBrush (const QBrush &brush)
 
void setSelectedBrush (const QBrush &brush)
 
void setKeyAxis (QCPAxis *axis)
 
void setValueAxis (QCPAxis *axis)
 
Q_SLOT void setSelectable (bool selectable)
 
Q_SLOT void setSelected (bool selected)
 
virtual bool addToLegend ()
 
virtual bool removeFromLegend () const
 
void rescaleAxes (bool onlyEnlarge=false) const
 
void rescaleKeyAxis (bool onlyEnlarge=false) const
 
void rescaleValueAxis (bool onlyEnlarge=false) const
 
- Public Member Functions inherited from QCPLayerable
 QCPLayerable (QCustomPlot *plot, QString targetLayer=QString(), QCPLayerable *parentLayerable=0)
 
 ~QCPLayerable ()
 
bool visible () const
 
QCustomPlotparentPlot () const
 
QCPLayerableparentLayerable () const
 
QCPLayerlayer () const
 
bool antialiased () const
 
void setVisible (bool on)
 
Q_SLOT bool setLayer (QCPLayer *layer)
 
bool setLayer (const QString &layerName)
 
void setAntialiased (bool enabled)
 
bool realVisibility () const
 
 QCPLayerable (QCustomPlot *plot, QString targetLayer=QString(), QCPLayerable *parentLayerable=0)
 
virtual ~QCPLayerable ()
 
bool visible () const
 
QCustomPlotparentPlot () const
 
QCPLayerableparentLayerable () const
 
QCPLayerlayer () const
 
bool antialiased () const
 
void setVisible (bool on)
 
Q_SLOT bool setLayer (QCPLayer *layer)
 
bool setLayer (const QString &layerName)
 
void setAntialiased (bool enabled)
 
bool realVisibility () const
 
 QCPLayerable (QCustomPlot *plot, QString targetLayer=QString(), QCPLayerable *parentLayerable=0)
 
 ~QCPLayerable ()
 
bool visible () const
 
QCustomPlotparentPlot () const
 
QCPLayerableparentLayerable () const
 
QCPLayerlayer () const
 
bool antialiased () const
 
void setVisible (bool on)
 
Q_SLOT bool setLayer (QCPLayer *layer)
 
bool setLayer (const QString &layerName)
 
void setAntialiased (bool enabled)
 
bool realVisibility () const
 
- Public Member Functions inherited from QCPAbstractPlottable1D< QCPGraphData >
 QCPAbstractPlottable1D (QCPAxis *keyAxis, QCPAxis *valueAxis)
 
virtual ~QCPAbstractPlottable1D ()
 
virtual int dataCount () const Q_DECL_OVERRIDE
 
virtual double dataMainKey (int index) const Q_DECL_OVERRIDE
 
virtual double dataSortKey (int index) const Q_DECL_OVERRIDE
 
virtual double dataMainValue (int index) const Q_DECL_OVERRIDE
 
virtual QCPRange dataValueRange (int index) const Q_DECL_OVERRIDE
 
virtual QPointF dataPixelPosition (int index) const Q_DECL_OVERRIDE
 
virtual bool sortKeyIsMainKey () const Q_DECL_OVERRIDE
 
virtual QCPDataSelection selectTestRect (const QRectF &rect, bool onlySelectable) const Q_DECL_OVERRIDE
 
virtual int findBegin (double sortKey, bool expandedRange=true) const Q_DECL_OVERRIDE
 
virtual int findEnd (double sortKey, bool expandedRange=true) const Q_DECL_OVERRIDE
 
virtual QCPPlottableInterface1Dinterface1D () Q_DECL_OVERRIDE
 
- Public Member Functions inherited from QCPPlottableInterface1D
virtual ~QCPPlottableInterface1D ()
 

Protected Member Functions

virtual void draw (QCPPainter *painter)
 
virtual void drawLegendIcon (QCPPainter *painter, const QRectF &rect) const
 
virtual QCPRange getKeyRange (bool &foundRange, SignDomain inSignDomain=sdBoth) const
 
virtual QCPRange getValueRange (bool &foundRange, SignDomain inSignDomain=sdBoth) const
 
virtual QCPRange getKeyRange (bool &foundRange, SignDomain inSignDomain, bool includeErrors) const
 
virtual QCPRange getValueRange (bool &foundRange, SignDomain inSignDomain, bool includeErrors) const
 
virtual void drawFill (QCPPainter *painter, QVector< QPointF > *lineData) const
 
virtual void drawScatterPlot (QCPPainter *painter, QVector< QCPData > *scatterData) const
 
virtual void drawLinePlot (QCPPainter *painter, QVector< QPointF > *lineData) const
 
virtual void drawImpulsePlot (QCPPainter *painter, QVector< QPointF > *lineData) const
 
void getPreparedData (QVector< QCPData > *lineData, QVector< QCPData > *scatterData) const
 
void getPlotData (QVector< QPointF > *lineData, QVector< QCPData > *scatterData) const
 
void getScatterPlotData (QVector< QCPData > *scatterData) const
 
void getLinePlotData (QVector< QPointF > *linePixelData, QVector< QCPData > *scatterData) const
 
void getStepLeftPlotData (QVector< QPointF > *linePixelData, QVector< QCPData > *scatterData) const
 
void getStepRightPlotData (QVector< QPointF > *linePixelData, QVector< QCPData > *scatterData) const
 
void getStepCenterPlotData (QVector< QPointF > *linePixelData, QVector< QCPData > *scatterData) const
 
void getImpulsePlotData (QVector< QPointF > *linePixelData, QVector< QCPData > *scatterData) const
 
void drawError (QCPPainter *painter, double x, double y, const QCPData &data) const
 
void getVisibleDataBounds (QCPDataMap::const_iterator &lower, QCPDataMap::const_iterator &upper) const
 
int countDataInBounds (const QCPDataMap::const_iterator &lower, const QCPDataMap::const_iterator &upper, int maxCount) const
 
void addFillBasePoints (QVector< QPointF > *lineData) const
 
void removeFillBasePoints (QVector< QPointF > *lineData) const
 
QPointF lowerFillBasePoint (double lowerKey) const
 
QPointF upperFillBasePoint (double upperKey) const
 
const QPolygonF getChannelFillPolygon (const QVector< QPointF > *lineData) const
 
int findIndexBelowX (const QVector< QPointF > *data, double x) const
 
int findIndexAboveX (const QVector< QPointF > *data, double x) const
 
int findIndexBelowY (const QVector< QPointF > *data, double y) const
 
int findIndexAboveY (const QVector< QPointF > *data, double y) const
 
double pointDistance (const QPointF &pixelPoint) const
 
virtual void draw (QCPPainter *painter) Q_DECL_OVERRIDE
 
virtual void drawLegendIcon (QCPPainter *painter, const QRectF &rect) const Q_DECL_OVERRIDE
 
virtual void drawFill (QCPPainter *painter, QVector< QPointF > *lines) const
 
virtual void drawScatterPlot (QCPPainter *painter, const QVector< QPointF > &scatters, const QCPScatterStyle &style) const
 
virtual void drawLinePlot (QCPPainter *painter, const QVector< QPointF > &lines) const
 
virtual void drawImpulsePlot (QCPPainter *painter, const QVector< QPointF > &lines) const
 
virtual void getOptimizedLineData (QVector< QCPGraphData > *lineData, const QCPGraphDataContainer::const_iterator &begin, const QCPGraphDataContainer::const_iterator &end) const
 
virtual void getOptimizedScatterData (QVector< QCPGraphData > *scatterData, QCPGraphDataContainer::const_iterator begin, QCPGraphDataContainer::const_iterator end) const
 
void getVisibleDataBounds (QCPGraphDataContainer::const_iterator &begin, QCPGraphDataContainer::const_iterator &end, const QCPDataRange &rangeRestriction) const
 
void getLines (QVector< QPointF > *lines, const QCPDataRange &dataRange) const
 
void getScatters (QVector< QPointF > *scatters, const QCPDataRange &dataRange) const
 
QVector< QPointF > dataToLines (const QVector< QCPGraphData > &data) const
 
QVector< QPointF > dataToStepLeftLines (const QVector< QCPGraphData > &data) const
 
QVector< QPointF > dataToStepRightLines (const QVector< QCPGraphData > &data) const
 
QVector< QPointF > dataToStepCenterLines (const QVector< QCPGraphData > &data) const
 
QVector< QPointF > dataToImpulseLines (const QVector< QCPGraphData > &data) const
 
QVector< QCPDataRangegetNonNanSegments (const QVector< QPointF > *lineData, Qt::Orientation keyOrientation) const
 
QVector< QPair< QCPDataRange, QCPDataRange > > getOverlappingSegments (QVector< QCPDataRange > thisSegments, const QVector< QPointF > *thisData, QVector< QCPDataRange > otherSegments, const QVector< QPointF > *otherData) const
 
bool segmentsIntersect (double aLower, double aUpper, double bLower, double bUpper, int &bPrecedence) const
 
QPointF getFillBasePoint (QPointF matchingDataPoint) const
 
const QPolygonF getFillPolygon (const QVector< QPointF > *lineData, QCPDataRange segment) const
 
const QPolygonF getChannelFillPolygon (const QVector< QPointF > *lineData, QCPDataRange thisSegment, const QVector< QPointF > *otherData, QCPDataRange otherSegment) const
 
int findIndexBelowX (const QVector< QPointF > *data, double x) const
 
int findIndexAboveX (const QVector< QPointF > *data, double x) const
 
int findIndexBelowY (const QVector< QPointF > *data, double y) const
 
int findIndexAboveY (const QVector< QPointF > *data, double y) const
 
double pointDistance (const QPointF &pixelPoint, QCPGraphDataContainer::const_iterator &closestData) const
 
virtual void draw (QCPPainter *painter)
 
virtual void drawLegendIcon (QCPPainter *painter, const QRectF &rect) const
 
virtual QCPRange getKeyRange (bool &foundRange, SignDomain inSignDomain=sdBoth) const
 
virtual QCPRange getValueRange (bool &foundRange, SignDomain inSignDomain=sdBoth) const
 
virtual QCPRange getKeyRange (bool &foundRange, SignDomain inSignDomain, bool includeErrors) const
 
virtual QCPRange getValueRange (bool &foundRange, SignDomain inSignDomain, bool includeErrors) const
 
virtual void drawFill (QCPPainter *painter, QVector< QPointF > *lineData) const
 
virtual void drawScatterPlot (QCPPainter *painter, QVector< QCPData > *scatterData) const
 
virtual void drawLinePlot (QCPPainter *painter, QVector< QPointF > *lineData) const
 
virtual void drawImpulsePlot (QCPPainter *painter, QVector< QPointF > *lineData) const
 
void getPreparedData (QVector< QCPData > *lineData, QVector< QCPData > *scatterData) const
 
void getPlotData (QVector< QPointF > *lineData, QVector< QCPData > *scatterData) const
 
void getScatterPlotData (QVector< QCPData > *scatterData) const
 
void getLinePlotData (QVector< QPointF > *linePixelData, QVector< QCPData > *scatterData) const
 
void getStepLeftPlotData (QVector< QPointF > *linePixelData, QVector< QCPData > *scatterData) const
 
void getStepRightPlotData (QVector< QPointF > *linePixelData, QVector< QCPData > *scatterData) const
 
void getStepCenterPlotData (QVector< QPointF > *linePixelData, QVector< QCPData > *scatterData) const
 
void getImpulsePlotData (QVector< QPointF > *linePixelData, QVector< QCPData > *scatterData) const
 
void drawError (QCPPainter *painter, double x, double y, const QCPData &data) const
 
void getVisibleDataBounds (QCPDataMap::const_iterator &lower, QCPDataMap::const_iterator &upper) const
 
int countDataInBounds (const QCPDataMap::const_iterator &lower, const QCPDataMap::const_iterator &upper, int maxCount) const
 
void addFillBasePoints (QVector< QPointF > *lineData) const
 
void removeFillBasePoints (QVector< QPointF > *lineData) const
 
QPointF lowerFillBasePoint (double lowerKey) const
 
QPointF upperFillBasePoint (double upperKey) const
 
const QPolygonF getChannelFillPolygon (const QVector< QPointF > *lineData) const
 
int findIndexBelowX (const QVector< QPointF > *data, double x) const
 
int findIndexAboveX (const QVector< QPointF > *data, double x) const
 
int findIndexBelowY (const QVector< QPointF > *data, double y) const
 
int findIndexAboveY (const QVector< QPointF > *data, double y) const
 
double pointDistance (const QPointF &pixelPoint) const
 
- Protected Member Functions inherited from QCPAbstractPlottable
virtual QRect clipRect () const
 
virtual QCP::Interaction selectionCategory () const
 
void applyDefaultAntialiasingHint (QCPPainter *painter) const
 
virtual void selectEvent (QMouseEvent *event, bool additive, const QVariant &details, bool *selectionStateChanged)
 
virtual void deselectEvent (bool *selectionStateChanged)
 
void coordsToPixels (double key, double value, double &x, double &y) const
 
const QPointF coordsToPixels (double key, double value) const
 
void pixelsToCoords (double x, double y, double &key, double &value) const
 
void pixelsToCoords (const QPointF &pixelPos, double &key, double &value) const
 
QPen mainPen () const
 
QBrush mainBrush () const
 
void applyFillAntialiasingHint (QCPPainter *painter) const
 
void applyScattersAntialiasingHint (QCPPainter *painter) const
 
void applyErrorBarsAntialiasingHint (QCPPainter *painter) const
 
double distSqrToLine (const QPointF &start, const QPointF &end, const QPointF &point) const
 
virtual QRect clipRect () const Q_DECL_OVERRIDE
 
virtual QCP::Interaction selectionCategory () const Q_DECL_OVERRIDE
 
void applyDefaultAntialiasingHint (QCPPainter *painter) const Q_DECL_OVERRIDE
 
virtual void selectEvent (QMouseEvent *event, bool additive, const QVariant &details, bool *selectionStateChanged) Q_DECL_OVERRIDE
 
virtual void deselectEvent (bool *selectionStateChanged) Q_DECL_OVERRIDE
 
void applyFillAntialiasingHint (QCPPainter *painter) const
 
void applyScattersAntialiasingHint (QCPPainter *painter) const
 
virtual QRect clipRect () const
 
virtual QCP::Interaction selectionCategory () const
 
void applyDefaultAntialiasingHint (QCPPainter *painter) const
 
virtual void selectEvent (QMouseEvent *event, bool additive, const QVariant &details, bool *selectionStateChanged)
 
virtual void deselectEvent (bool *selectionStateChanged)
 
void coordsToPixels (double key, double value, double &x, double &y) const
 
const QPointF coordsToPixels (double key, double value) const
 
void pixelsToCoords (double x, double y, double &key, double &value) const
 
void pixelsToCoords (const QPointF &pixelPos, double &key, double &value) const
 
QPen mainPen () const
 
QBrush mainBrush () const
 
void applyFillAntialiasingHint (QCPPainter *painter) const
 
void applyScattersAntialiasingHint (QCPPainter *painter) const
 
void applyErrorBarsAntialiasingHint (QCPPainter *painter) const
 
double distSqrToLine (const QPointF &start, const QPointF &end, const QPointF &point) const
 
- Protected Member Functions inherited from QCPLayerable
virtual void parentPlotInitialized (QCustomPlot *parentPlot)
 
void initializeParentPlot (QCustomPlot *parentPlot)
 
void setParentLayerable (QCPLayerable *parentLayerable)
 
bool moveToLayer (QCPLayer *layer, bool prepend)
 
void applyAntialiasingHint (QCPPainter *painter, bool localAntialiased, QCP::AntialiasedElement overrideElement) const
 
virtual void parentPlotInitialized (QCustomPlot *parentPlot)
 
virtual void mousePressEvent (QMouseEvent *event, const QVariant &details)
 
virtual void mouseMoveEvent (QMouseEvent *event, const QPointF &startPos)
 
virtual void mouseReleaseEvent (QMouseEvent *event, const QPointF &startPos)
 
virtual void mouseDoubleClickEvent (QMouseEvent *event, const QVariant &details)
 
virtual void wheelEvent (QWheelEvent *event)
 
void initializeParentPlot (QCustomPlot *parentPlot)
 
void setParentLayerable (QCPLayerable *parentLayerable)
 
bool moveToLayer (QCPLayer *layer, bool prepend)
 
void applyAntialiasingHint (QCPPainter *painter, bool localAntialiased, QCP::AntialiasedElement overrideElement) const
 
virtual void parentPlotInitialized (QCustomPlot *parentPlot)
 
void initializeParentPlot (QCustomPlot *parentPlot)
 
void setParentLayerable (QCPLayerable *parentLayerable)
 
bool moveToLayer (QCPLayer *layer, bool prepend)
 
void applyAntialiasingHint (QCPPainter *painter, bool localAntialiased, QCP::AntialiasedElement overrideElement) const
 
- Protected Member Functions inherited from QCPAbstractPlottable1D< QCPGraphData >
void getDataSegments (QList< QCPDataRange > &selectedSegments, QList< QCPDataRange > &unselectedSegments) const
 
void drawPolyline (QCPPainter *painter, const QVector< QPointF > &lineData) const
 

Protected Attributes

QCPDataMapmData
 
QPen mErrorPen
 
LineStyle mLineStyle
 
QCPScatterStyle mScatterStyle
 
ErrorType mErrorType
 
double mErrorBarSize
 
bool mErrorBarSkipSymbol
 
QPointer< QCPGraphmChannelFillGraph
 
bool mAdaptiveSampling
 
int mScatterSkip
 
- Protected Attributes inherited from QCPAbstractPlottable
QString mName
 
bool mAntialiasedFill
 
bool mAntialiasedScatters
 
bool mAntialiasedErrorBars
 
QPen mPen
 
QPen mSelectedPen
 
QBrush mBrush
 
QBrush mSelectedBrush
 
QPointer< QCPAxismKeyAxis
 
QPointer< QCPAxismValueAxis
 
bool mSelectable
 
bool mSelected
 
QCP::SelectionType mSelectable
 
QCPDataSelection mSelection
 
QCPSelectionDecoratormSelectionDecorator
 
- Protected Attributes inherited from QCPLayerable
bool mVisible
 
QCustomPlotmParentPlot
 
QPointer< QCPLayerablemParentLayerable
 
QCPLayermLayer
 
bool mAntialiased
 
- Protected Attributes inherited from QCPAbstractPlottable1D< QCPGraphData >
QSharedPointer< QCPDataContainer< QCPGraphData > > mDataContainer
 

Friends

class QCustomPlot
 
class QCPLegend
 

Additional Inherited Members

- Signals inherited from QCPAbstractPlottable
void selectionChanged (bool selected)
 
void selectableChanged (bool selectable)
 
void selectionChanged (bool selected)
 
void selectionChanged (const QCPDataSelection &selection)
 
void selectableChanged (QCP::SelectionType selectable)
 
void selectionChanged (bool selected)
 
void selectableChanged (bool selectable)
 
- Signals inherited from QCPLayerable
void layerChanged (QCPLayer *newLayer)
 
void layerChanged (QCPLayer *newLayer)
 
void layerChanged (QCPLayer *newLayer)
 
- Protected Types inherited from QCPAbstractPlottable
enum  SignDomain {
  sdNegative, sdBoth, sdPositive, sdNegative,
  sdBoth, sdPositive
}
 
enum  SignDomain {
  sdNegative, sdBoth, sdPositive, sdNegative,
  sdBoth, sdPositive
}
 

Member Enumeration Documentation

◆ ErrorType [1/2]

Defines what kind of error bars are drawn for each data point

Enumerator
etNone 

No error bars are shown.

etKey 

Error bars for the key dimension of the data point are shown.

etValue 

Error bars for the value dimension of the data point are shown.

etBoth 

Error bars for both key and value dimensions of the data point are shown.

etNone 

No error bars are shown.

etKey 

Error bars for the key dimension of the data point are shown.

etValue 

Error bars for the value dimension of the data point are shown.

etBoth 

Error bars for both key and value dimensions of the data point are shown.

◆ ErrorType [2/2]

Defines what kind of error bars are drawn for each data point

Enumerator
etNone 

No error bars are shown.

etKey 

Error bars for the key dimension of the data point are shown.

etValue 

Error bars for the value dimension of the data point are shown.

etBoth 

Error bars for both key and value dimensions of the data point are shown.

etNone 

No error bars are shown.

etKey 

Error bars for the key dimension of the data point are shown.

etValue 

Error bars for the value dimension of the data point are shown.

etBoth 

Error bars for both key and value dimensions of the data point are shown.

◆ LineStyle [1/3]

Defines how the graph's line is represented visually in the plot. The line is drawn with the current pen of the graph (setPen).

See also
setLineStyle
Enumerator
lsNone 

data points are not connected with any lines (e.g. data only represented with symbols according to the scatter style, see setScatterStyle)

lsLine 

data points are connected by a straight line

lsStepLeft 

line is drawn as steps where the step height is the value of the left data point

lsStepRight 

line is drawn as steps where the step height is the value of the right data point

lsStepCenter 

line is drawn as steps where the step is in between two data points

lsImpulse 

each data point is represented by a line parallel to the value axis, which reaches from the data point to the zero-value-line

lsNone 

data points are not connected with any lines (e.g. data only represented with symbols according to the scatter style, see setScatterStyle)

lsLine 

data points are connected by a straight line

lsStepLeft 

line is drawn as steps where the step height is the value of the left data point

lsStepRight 

line is drawn as steps where the step height is the value of the right data point

lsStepCenter 

line is drawn as steps where the step is in between two data points

lsImpulse 

each data point is represented by a line parallel to the value axis, which reaches from the data point to the zero-value-line

lsNone 

data points are not connected with any lines (e.g. data only represented with symbols according to the scatter style, see setScatterStyle)

lsLine 

data points are connected by a straight line

lsStepLeft 

line is drawn as steps where the step height is the value of the left data point

lsStepRight 

line is drawn as steps where the step height is the value of the right data point

lsStepCenter 

line is drawn as steps where the step is in between two data points

lsImpulse 

each data point is represented by a line parallel to the value axis, which reaches from the data point to the zero-value-line

◆ LineStyle [2/3]

Defines how the graph's line is represented visually in the plot. The line is drawn with the current pen of the graph (setPen).

See also
setLineStyle
Enumerator
lsNone 

data points are not connected with any lines (e.g. data only represented with symbols according to the scatter style, see setScatterStyle)

lsLine 

data points are connected by a straight line

lsStepLeft 

line is drawn as steps where the step height is the value of the left data point

lsStepRight 

line is drawn as steps where the step height is the value of the right data point

lsStepCenter 

line is drawn as steps where the step is in between two data points

lsImpulse 

each data point is represented by a line parallel to the value axis, which reaches from the data point to the zero-value-line

lsNone 

data points are not connected with any lines (e.g. data only represented with symbols according to the scatter style, see setScatterStyle)

lsLine 

data points are connected by a straight line

lsStepLeft 

line is drawn as steps where the step height is the value of the left data point

lsStepRight 

line is drawn as steps where the step height is the value of the right data point

lsStepCenter 

line is drawn as steps where the step is in between two data points

lsImpulse 

each data point is represented by a line parallel to the value axis, which reaches from the data point to the zero-value-line

lsNone 

data points are not connected with any lines (e.g. data only represented with symbols according to the scatter style, see setScatterStyle)

lsLine 

data points are connected by a straight line

lsStepLeft 

line is drawn as steps where the step height is the value of the left data point

lsStepRight 

line is drawn as steps where the step height is the value of the right data point

lsStepCenter 

line is drawn as steps where the step is in between two data points

lsImpulse 

each data point is represented by a line parallel to the value axis, which reaches from the data point to the zero-value-line

◆ LineStyle [3/3]

Defines how the graph's line is represented visually in the plot. The line is drawn with the current pen of the graph (setPen).

See also
setLineStyle
Enumerator
lsNone 

data points are not connected with any lines (e.g. data only represented with symbols according to the scatter style, see setScatterStyle)

lsLine 

data points are connected by a straight line

lsStepLeft 

line is drawn as steps where the step height is the value of the left data point

lsStepRight 

line is drawn as steps where the step height is the value of the right data point

lsStepCenter 

line is drawn as steps where the step is in between two data points

lsImpulse 

each data point is represented by a line parallel to the value axis, which reaches from the data point to the zero-value-line

lsNone 

data points are not connected with any lines (e.g. data only represented with symbols according to the scatter style, see setScatterStyle)

lsLine 

data points are connected by a straight line

lsStepLeft 

line is drawn as steps where the step height is the value of the left data point

lsStepRight 

line is drawn as steps where the step height is the value of the right data point

lsStepCenter 

line is drawn as steps where the step is in between two data points

lsImpulse 

each data point is represented by a line parallel to the value axis, which reaches from the data point to the zero-value-line

lsNone 

data points are not connected with any lines (e.g. data only represented with symbols according to the scatter style, see setScatterStyle)

lsLine 

data points are connected by a straight line

lsStepLeft 

line is drawn as steps where the step height is the value of the left data point

lsStepRight 

line is drawn as steps where the step height is the value of the right data point

lsStepCenter 

line is drawn as steps where the step is in between two data points

lsImpulse 

each data point is represented by a line parallel to the value axis, which reaches from the data point to the zero-value-line

Constructor & Destructor Documentation

◆ QCPGraph() [1/3]

QCPGraph::QCPGraph ( QCPAxis keyAxis,
QCPAxis valueAxis 
)
explicit

◆ ~QCPGraph() [1/3]

virtual QCPGraph::~QCPGraph ( )
virtual

◆ QCPGraph() [2/3]

QCPGraph::QCPGraph ( QCPAxis keyAxis,
QCPAxis valueAxis 
)
explicit

◆ ~QCPGraph() [2/3]

virtual QCPGraph::~QCPGraph ( )
virtual

◆ QCPGraph() [3/3]

QCPGraph::QCPGraph ( QCPAxis keyAxis,
QCPAxis valueAxis 
)
explicit

◆ ~QCPGraph() [3/3]

virtual QCPGraph::~QCPGraph ( )
virtual

Member Function Documentation

◆ adaptiveSampling() [1/3]

bool QCPGraph::adaptiveSampling ( ) const
inline

◆ adaptiveSampling() [2/3]

bool QCPGraph::adaptiveSampling ( ) const
inline

◆ adaptiveSampling() [3/3]

bool QCPGraph::adaptiveSampling ( ) const
inline

◆ addData() [1/10]

void QCPGraph::addData ( const QCPDataMap dataMap)

◆ addData() [2/10]

void QCPGraph::addData ( const QCPDataMap dataMap)

◆ addData() [3/10]

void QCPGraph::addData ( const QCPData data)

◆ addData() [4/10]

void QCPGraph::addData ( const QCPData data)

◆ addData() [5/10]

void QCPGraph::addData ( double  key,
double  value 
)

◆ addData() [6/10]

void QCPGraph::addData ( double  key,
double  value 
)

◆ addData() [7/10]

void QCPGraph::addData ( const QVector< double > &  keys,
const QVector< double > &  values 
)

◆ addData() [8/10]

void QCPGraph::addData ( const QVector< double > &  keys,
const QVector< double > &  values 
)

◆ addData() [9/10]

void QCPGraph::addData ( const QVector< double > &  keys,
const QVector< double > &  values,
bool  alreadySorted = false 
)

◆ addData() [10/10]

void QCPGraph::addData ( double  key,
double  value 
)

◆ addFillBasePoints() [1/2]

void QCPGraph::addFillBasePoints ( QVector< QPointF > *  lineData) const
protected

◆ addFillBasePoints() [2/2]

void QCPGraph::addFillBasePoints ( QVector< QPointF > *  lineData) const
protected

◆ channelFillGraph() [1/3]

QCPGraph* QCPGraph::channelFillGraph ( ) const
inline

◆ channelFillGraph() [2/3]

QCPGraph* QCPGraph::channelFillGraph ( ) const
inline

◆ channelFillGraph() [3/3]

QCPGraph* QCPGraph::channelFillGraph ( ) const
inline

◆ clearData() [1/2]

virtual void QCPGraph::clearData ( )
virtual

Implements QCPAbstractPlottable.

◆ clearData() [2/2]

virtual void QCPGraph::clearData ( )
virtual

Implements QCPAbstractPlottable.

◆ countDataInBounds() [1/2]

int QCPGraph::countDataInBounds ( const QCPDataMap::const_iterator &  lower,
const QCPDataMap::const_iterator &  upper,
int  maxCount 
) const
protected

◆ countDataInBounds() [2/2]

int QCPGraph::countDataInBounds ( const QCPDataMap::const_iterator &  lower,
const QCPDataMap::const_iterator &  upper,
int  maxCount 
) const
protected

◆ data() [1/3]

QCPDataMap* QCPGraph::data ( ) const
inline

◆ data() [2/3]

QCPDataMap* QCPGraph::data ( ) const
inline

◆ data() [3/3]

QSharedPointer<QCPGraphDataContainer> QCPGraph::data ( ) const
inline

◆ dataToImpulseLines()

QVector<QPointF> QCPGraph::dataToImpulseLines ( const QVector< QCPGraphData > &  data) const
protected

◆ dataToLines()

QVector<QPointF> QCPGraph::dataToLines ( const QVector< QCPGraphData > &  data) const
protected

◆ dataToStepCenterLines()

QVector<QPointF> QCPGraph::dataToStepCenterLines ( const QVector< QCPGraphData > &  data) const
protected

◆ dataToStepLeftLines()

QVector<QPointF> QCPGraph::dataToStepLeftLines ( const QVector< QCPGraphData > &  data) const
protected

◆ dataToStepRightLines()

QVector<QPointF> QCPGraph::dataToStepRightLines ( const QVector< QCPGraphData > &  data) const
protected

◆ draw() [1/3]

virtual void QCPGraph::draw ( QCPPainter painter)
protectedvirtual

Implements QCPAbstractPlottable.

◆ draw() [2/3]

virtual void QCPGraph::draw ( QCPPainter painter)
protectedvirtual

Implements QCPAbstractPlottable.

◆ draw() [3/3]

virtual void QCPGraph::draw ( QCPPainter painter)
protectedvirtual

Implements QCPAbstractPlottable.

◆ drawError() [1/2]

void QCPGraph::drawError ( QCPPainter painter,
double  x,
double  y,
const QCPData data 
) const
protected

◆ drawError() [2/2]

void QCPGraph::drawError ( QCPPainter painter,
double  x,
double  y,
const QCPData data 
) const
protected

◆ drawFill() [1/3]

virtual void QCPGraph::drawFill ( QCPPainter painter,
QVector< QPointF > *  lineData 
) const
protectedvirtual

◆ drawFill() [2/3]

virtual void QCPGraph::drawFill ( QCPPainter painter,
QVector< QPointF > *  lineData 
) const
protectedvirtual

◆ drawFill() [3/3]

virtual void QCPGraph::drawFill ( QCPPainter painter,
QVector< QPointF > *  lines 
) const
protectedvirtual

◆ drawImpulsePlot() [1/3]

virtual void QCPGraph::drawImpulsePlot ( QCPPainter painter,
QVector< QPointF > *  lineData 
) const
protectedvirtual

◆ drawImpulsePlot() [2/3]

virtual void QCPGraph::drawImpulsePlot ( QCPPainter painter,
QVector< QPointF > *  lineData 
) const
protectedvirtual

◆ drawImpulsePlot() [3/3]

virtual void QCPGraph::drawImpulsePlot ( QCPPainter painter,
const QVector< QPointF > &  lines 
) const
protectedvirtual

◆ drawLegendIcon() [1/3]

virtual void QCPGraph::drawLegendIcon ( QCPPainter painter,
const QRectF &  rect 
) const
protectedvirtual

Implements QCPAbstractPlottable.

◆ drawLegendIcon() [2/3]

virtual void QCPGraph::drawLegendIcon ( QCPPainter painter,
const QRectF &  rect 
) const
protectedvirtual

Implements QCPAbstractPlottable.

◆ drawLegendIcon() [3/3]

virtual void QCPGraph::drawLegendIcon ( QCPPainter painter,
const QRectF &  rect 
) const
protectedvirtual

Implements QCPAbstractPlottable.

◆ drawLinePlot() [1/3]

virtual void QCPGraph::drawLinePlot ( QCPPainter painter,
QVector< QPointF > *  lineData 
) const
protectedvirtual

◆ drawLinePlot() [2/3]

virtual void QCPGraph::drawLinePlot ( QCPPainter painter,
QVector< QPointF > *  lineData 
) const
protectedvirtual

◆ drawLinePlot() [3/3]

virtual void QCPGraph::drawLinePlot ( QCPPainter painter,
const QVector< QPointF > &  lines 
) const
protectedvirtual

◆ drawScatterPlot() [1/3]

virtual void QCPGraph::drawScatterPlot ( QCPPainter painter,
QVector< QCPData > *  scatterData 
) const
protectedvirtual

◆ drawScatterPlot() [2/3]

virtual void QCPGraph::drawScatterPlot ( QCPPainter painter,
QVector< QCPData > *  scatterData 
) const
protectedvirtual

◆ drawScatterPlot() [3/3]

virtual void QCPGraph::drawScatterPlot ( QCPPainter painter,
const QVector< QPointF > &  scatters,
const QCPScatterStyle style 
) const
protectedvirtual

◆ errorBarSize() [1/2]

double QCPGraph::errorBarSize ( ) const
inline

◆ errorBarSize() [2/2]

double QCPGraph::errorBarSize ( ) const
inline

◆ errorBarSkipSymbol() [1/2]

bool QCPGraph::errorBarSkipSymbol ( ) const
inline

◆ errorBarSkipSymbol() [2/2]

bool QCPGraph::errorBarSkipSymbol ( ) const
inline

◆ errorPen() [1/2]

QPen QCPGraph::errorPen ( ) const
inline

◆ errorPen() [2/2]

QPen QCPGraph::errorPen ( ) const
inline

◆ errorType() [1/2]

ErrorType QCPGraph::errorType ( ) const
inline

◆ errorType() [2/2]

ErrorType QCPGraph::errorType ( ) const
inline

◆ findIndexAboveX() [1/3]

int QCPGraph::findIndexAboveX ( const QVector< QPointF > *  data,
double  x 
) const
protected

◆ findIndexAboveX() [2/3]

int QCPGraph::findIndexAboveX ( const QVector< QPointF > *  data,
double  x 
) const
protected

◆ findIndexAboveX() [3/3]

int QCPGraph::findIndexAboveX ( const QVector< QPointF > *  data,
double  x 
) const
protected

◆ findIndexAboveY() [1/3]

int QCPGraph::findIndexAboveY ( const QVector< QPointF > *  data,
double  y 
) const
protected

◆ findIndexAboveY() [2/3]

int QCPGraph::findIndexAboveY ( const QVector< QPointF > *  data,
double  y 
) const
protected

◆ findIndexAboveY() [3/3]

int QCPGraph::findIndexAboveY ( const QVector< QPointF > *  data,
double  y 
) const
protected

◆ findIndexBelowX() [1/3]

int QCPGraph::findIndexBelowX ( const QVector< QPointF > *  data,
double  x 
) const
protected

◆ findIndexBelowX() [2/3]

int QCPGraph::findIndexBelowX ( const QVector< QPointF > *  data,
double  x 
) const
protected

◆ findIndexBelowX() [3/3]

int QCPGraph::findIndexBelowX ( const QVector< QPointF > *  data,
double  x 
) const
protected

◆ findIndexBelowY() [1/3]

int QCPGraph::findIndexBelowY ( const QVector< QPointF > *  data,
double  y 
) const
protected

◆ findIndexBelowY() [2/3]

int QCPGraph::findIndexBelowY ( const QVector< QPointF > *  data,
double  y 
) const
protected

◆ findIndexBelowY() [3/3]

int QCPGraph::findIndexBelowY ( const QVector< QPointF > *  data,
double  y 
) const
protected

◆ getChannelFillPolygon() [1/3]

const QPolygonF QCPGraph::getChannelFillPolygon ( const QVector< QPointF > *  lineData) const
protected

◆ getChannelFillPolygon() [2/3]

const QPolygonF QCPGraph::getChannelFillPolygon ( const QVector< QPointF > *  lineData) const
protected

◆ getChannelFillPolygon() [3/3]

const QPolygonF QCPGraph::getChannelFillPolygon ( const QVector< QPointF > *  lineData,
QCPDataRange  thisSegment,
const QVector< QPointF > *  otherData,
QCPDataRange  otherSegment 
) const
protected

◆ getFillBasePoint()

QPointF QCPGraph::getFillBasePoint ( QPointF  matchingDataPoint) const
protected

◆ getFillPolygon()

const QPolygonF QCPGraph::getFillPolygon ( const QVector< QPointF > *  lineData,
QCPDataRange  segment 
) const
protected

◆ getImpulsePlotData() [1/2]

void QCPGraph::getImpulsePlotData ( QVector< QPointF > *  linePixelData,
QVector< QCPData > *  scatterData 
) const
protected

◆ getImpulsePlotData() [2/2]

void QCPGraph::getImpulsePlotData ( QVector< QPointF > *  linePixelData,
QVector< QCPData > *  scatterData 
) const
protected

◆ getKeyRange() [1/5]

virtual QCPRange QCPGraph::getKeyRange ( bool &  foundRange,
SignDomain  inSignDomain = sdBoth 
) const
protectedvirtual

Implements QCPAbstractPlottable.

◆ getKeyRange() [2/5]

virtual QCPRange QCPGraph::getKeyRange ( bool &  foundRange,
SignDomain  inSignDomain = sdBoth 
) const
protectedvirtual

Implements QCPAbstractPlottable.

◆ getKeyRange() [3/5]

virtual QCPRange QCPGraph::getKeyRange ( bool &  foundRange,
SignDomain  inSignDomain,
bool  includeErrors 
) const
protectedvirtual

◆ getKeyRange() [4/5]

virtual QCPRange QCPGraph::getKeyRange ( bool &  foundRange,
SignDomain  inSignDomain,
bool  includeErrors 
) const
protectedvirtual

◆ getKeyRange() [5/5]

virtual QCPRange QCPGraph::getKeyRange ( bool &  foundRange,
QCP::SignDomain  inSignDomain = QCP::sdBoth 
) const
virtual

Implements QCPAbstractPlottable.

◆ getLinePlotData() [1/2]

void QCPGraph::getLinePlotData ( QVector< QPointF > *  linePixelData,
QVector< QCPData > *  scatterData 
) const
protected

◆ getLinePlotData() [2/2]

void QCPGraph::getLinePlotData ( QVector< QPointF > *  linePixelData,
QVector< QCPData > *  scatterData 
) const
protected

◆ getLines()

void QCPGraph::getLines ( QVector< QPointF > *  lines,
const QCPDataRange dataRange 
) const
protected

◆ getNonNanSegments()

QVector<QCPDataRange> QCPGraph::getNonNanSegments ( const QVector< QPointF > *  lineData,
Qt::Orientation  keyOrientation 
) const
protected

◆ getOptimizedLineData()

virtual void QCPGraph::getOptimizedLineData ( QVector< QCPGraphData > *  lineData,
const QCPGraphDataContainer::const_iterator begin,
const QCPGraphDataContainer::const_iterator end 
) const
protectedvirtual

◆ getOptimizedScatterData()

virtual void QCPGraph::getOptimizedScatterData ( QVector< QCPGraphData > *  scatterData,
QCPGraphDataContainer::const_iterator  begin,
QCPGraphDataContainer::const_iterator  end 
) const
protectedvirtual

◆ getOverlappingSegments()

QVector<QPair<QCPDataRange, QCPDataRange> > QCPGraph::getOverlappingSegments ( QVector< QCPDataRange thisSegments,
const QVector< QPointF > *  thisData,
QVector< QCPDataRange otherSegments,
const QVector< QPointF > *  otherData 
) const
protected

◆ getPlotData() [1/2]

void QCPGraph::getPlotData ( QVector< QPointF > *  lineData,
QVector< QCPData > *  scatterData 
) const
protected

◆ getPlotData() [2/2]

void QCPGraph::getPlotData ( QVector< QPointF > *  lineData,
QVector< QCPData > *  scatterData 
) const
protected

◆ getPreparedData() [1/2]

void QCPGraph::getPreparedData ( QVector< QCPData > *  lineData,
QVector< QCPData > *  scatterData 
) const
protected

◆ getPreparedData() [2/2]

void QCPGraph::getPreparedData ( QVector< QCPData > *  lineData,
QVector< QCPData > *  scatterData 
) const
protected

◆ getScatterPlotData() [1/2]

void QCPGraph::getScatterPlotData ( QVector< QCPData > *  scatterData) const
protected

◆ getScatterPlotData() [2/2]

void QCPGraph::getScatterPlotData ( QVector< QCPData > *  scatterData) const
protected

◆ getScatters()

void QCPGraph::getScatters ( QVector< QPointF > *  scatters,
const QCPDataRange dataRange 
) const
protected

◆ getStepCenterPlotData() [1/2]

void QCPGraph::getStepCenterPlotData ( QVector< QPointF > *  linePixelData,
QVector< QCPData > *  scatterData 
) const
protected

◆ getStepCenterPlotData() [2/2]

void QCPGraph::getStepCenterPlotData ( QVector< QPointF > *  linePixelData,
QVector< QCPData > *  scatterData 
) const
protected

◆ getStepLeftPlotData() [1/2]

void QCPGraph::getStepLeftPlotData ( QVector< QPointF > *  linePixelData,
QVector< QCPData > *  scatterData 
) const
protected

◆ getStepLeftPlotData() [2/2]

void QCPGraph::getStepLeftPlotData ( QVector< QPointF > *  linePixelData,
QVector< QCPData > *  scatterData 
) const
protected

◆ getStepRightPlotData() [1/2]

void QCPGraph::getStepRightPlotData ( QVector< QPointF > *  linePixelData,
QVector< QCPData > *  scatterData 
) const
protected

◆ getStepRightPlotData() [2/2]

void QCPGraph::getStepRightPlotData ( QVector< QPointF > *  linePixelData,
QVector< QCPData > *  scatterData 
) const
protected

◆ getValueRange() [1/5]

virtual QCPRange QCPGraph::getValueRange ( bool &  foundRange,
SignDomain  inSignDomain = sdBoth 
) const
protectedvirtual

Implements QCPAbstractPlottable.

◆ getValueRange() [2/5]

virtual QCPRange QCPGraph::getValueRange ( bool &  foundRange,
SignDomain  inSignDomain = sdBoth 
) const
protectedvirtual

Implements QCPAbstractPlottable.

◆ getValueRange() [3/5]

virtual QCPRange QCPGraph::getValueRange ( bool &  foundRange,
SignDomain  inSignDomain,
bool  includeErrors 
) const
protectedvirtual

◆ getValueRange() [4/5]

virtual QCPRange QCPGraph::getValueRange ( bool &  foundRange,
SignDomain  inSignDomain,
bool  includeErrors 
) const
protectedvirtual

◆ getValueRange() [5/5]

virtual QCPRange QCPGraph::getValueRange ( bool &  foundRange,
QCP::SignDomain  inSignDomain = QCP::sdBoth,
const QCPRange inKeyRange = QCPRange() 
) const
virtual

Implements QCPAbstractPlottable.

◆ getVisibleDataBounds() [1/3]

void QCPGraph::getVisibleDataBounds ( QCPDataMap::const_iterator &  lower,
QCPDataMap::const_iterator &  upper 
) const
protected

◆ getVisibleDataBounds() [2/3]

void QCPGraph::getVisibleDataBounds ( QCPDataMap::const_iterator &  lower,
QCPDataMap::const_iterator &  upper 
) const
protected

◆ getVisibleDataBounds() [3/3]

void QCPGraph::getVisibleDataBounds ( QCPGraphDataContainer::const_iterator begin,
QCPGraphDataContainer::const_iterator end,
const QCPDataRange rangeRestriction 
) const
protected

◆ lineStyle() [1/3]

LineStyle QCPGraph::lineStyle ( ) const
inline

◆ lineStyle() [2/3]

LineStyle QCPGraph::lineStyle ( ) const
inline

◆ lineStyle() [3/3]

LineStyle QCPGraph::lineStyle ( ) const
inline

◆ lowerFillBasePoint() [1/2]

QPointF QCPGraph::lowerFillBasePoint ( double  lowerKey) const
protected

◆ lowerFillBasePoint() [2/2]

QPointF QCPGraph::lowerFillBasePoint ( double  lowerKey) const
protected

◆ pointDistance() [1/3]

double QCPGraph::pointDistance ( const QPointF &  pixelPoint) const
protected

◆ pointDistance() [2/3]

double QCPGraph::pointDistance ( const QPointF &  pixelPoint) const
protected

◆ pointDistance() [3/3]

double QCPGraph::pointDistance ( const QPointF &  pixelPoint,
QCPGraphDataContainer::const_iterator closestData 
) const
protected

◆ removeData() [1/4]

void QCPGraph::removeData ( double  fromKey,
double  toKey 
)

◆ removeData() [2/4]

void QCPGraph::removeData ( double  fromKey,
double  toKey 
)

◆ removeData() [3/4]

void QCPGraph::removeData ( double  key)

◆ removeData() [4/4]

void QCPGraph::removeData ( double  key)

◆ removeDataAfter() [1/2]

void QCPGraph::removeDataAfter ( double  key)

◆ removeDataAfter() [2/2]

void QCPGraph::removeDataAfter ( double  key)

◆ removeDataBefore() [1/2]

void QCPGraph::removeDataBefore ( double  key)

◆ removeDataBefore() [2/2]

void QCPGraph::removeDataBefore ( double  key)

◆ removeFillBasePoints() [1/2]

void QCPGraph::removeFillBasePoints ( QVector< QPointF > *  lineData) const
protected

◆ removeFillBasePoints() [2/2]

void QCPGraph::removeFillBasePoints ( QVector< QPointF > *  lineData) const
protected

◆ rescaleAxes() [1/2]

void QCPGraph::rescaleAxes ( bool  onlyEnlarge,
bool  includeErrorBars 
) const

◆ rescaleAxes() [2/2]

void QCPGraph::rescaleAxes ( bool  onlyEnlarge,
bool  includeErrorBars 
) const

◆ rescaleKeyAxis() [1/2]

void QCPGraph::rescaleKeyAxis ( bool  onlyEnlarge,
bool  includeErrorBars 
) const

◆ rescaleKeyAxis() [2/2]

void QCPGraph::rescaleKeyAxis ( bool  onlyEnlarge,
bool  includeErrorBars 
) const

◆ rescaleValueAxis() [1/2]

void QCPGraph::rescaleValueAxis ( bool  onlyEnlarge,
bool  includeErrorBars 
) const

◆ rescaleValueAxis() [2/2]

void QCPGraph::rescaleValueAxis ( bool  onlyEnlarge,
bool  includeErrorBars 
) const

◆ scatterSkip()

int QCPGraph::scatterSkip ( ) const
inline

◆ scatterStyle() [1/3]

QCPScatterStyle QCPGraph::scatterStyle ( ) const
inline

◆ scatterStyle() [2/3]

QCPScatterStyle QCPGraph::scatterStyle ( ) const
inline

◆ scatterStyle() [3/3]

QCPScatterStyle QCPGraph::scatterStyle ( ) const
inline

◆ segmentsIntersect()

bool QCPGraph::segmentsIntersect ( double  aLower,
double  aUpper,
double  bLower,
double  bUpper,
int &  bPrecedence 
) const
protected

◆ selectTest() [1/3]

virtual double QCPGraph::selectTest ( const QPointF &  pos,
bool  onlySelectable,
QVariant *  details = 0 
) const
virtual

Implements QCPAbstractPlottable.

◆ selectTest() [2/3]

virtual double QCPGraph::selectTest ( const QPointF &  pos,
bool  onlySelectable,
QVariant *  details = 0 
) const
virtual

Implements QCPAbstractPlottable.

◆ selectTest() [3/3]

virtual double QCPGraph::selectTest ( const QPointF &  pos,
bool  onlySelectable,
QVariant *  details = 0 
) const
virtual

Implements QCPAbstractPlottable.

◆ setAdaptiveSampling() [1/3]

void QCPGraph::setAdaptiveSampling ( bool  enabled)

◆ setAdaptiveSampling() [2/3]

void QCPGraph::setAdaptiveSampling ( bool  enabled)

◆ setAdaptiveSampling() [3/3]

void QCPGraph::setAdaptiveSampling ( bool  enabled)

◆ setChannelFillGraph() [1/3]

void QCPGraph::setChannelFillGraph ( QCPGraph targetGraph)

◆ setChannelFillGraph() [2/3]

void QCPGraph::setChannelFillGraph ( QCPGraph targetGraph)

◆ setChannelFillGraph() [3/3]

void QCPGraph::setChannelFillGraph ( QCPGraph targetGraph)

◆ setData() [1/6]

void QCPGraph::setData ( QCPDataMap data,
bool  copy = false 
)

◆ setData() [2/6]

void QCPGraph::setData ( QCPDataMap data,
bool  copy = false 
)

◆ setData() [3/6]

void QCPGraph::setData ( const QVector< double > &  key,
const QVector< double > &  value 
)

◆ setData() [4/6]

void QCPGraph::setData ( const QVector< double > &  key,
const QVector< double > &  value 
)

◆ setData() [5/6]

void QCPGraph::setData ( QSharedPointer< QCPGraphDataContainer data)

◆ setData() [6/6]

void QCPGraph::setData ( const QVector< double > &  keys,
const QVector< double > &  values,
bool  alreadySorted = false 
)

◆ setDataBothError() [1/4]

void QCPGraph::setDataBothError ( const QVector< double > &  key,
const QVector< double > &  value,
const QVector< double > &  keyError,
const QVector< double > &  valueError 
)

◆ setDataBothError() [2/4]

void QCPGraph::setDataBothError ( const QVector< double > &  key,
const QVector< double > &  value,
const QVector< double > &  keyError,
const QVector< double > &  valueError 
)

◆ setDataBothError() [3/4]

void QCPGraph::setDataBothError ( const QVector< double > &  key,
const QVector< double > &  value,
const QVector< double > &  keyErrorMinus,
const QVector< double > &  keyErrorPlus,
const QVector< double > &  valueErrorMinus,
const QVector< double > &  valueErrorPlus 
)

◆ setDataBothError() [4/4]

void QCPGraph::setDataBothError ( const QVector< double > &  key,
const QVector< double > &  value,
const QVector< double > &  keyErrorMinus,
const QVector< double > &  keyErrorPlus,
const QVector< double > &  valueErrorMinus,
const QVector< double > &  valueErrorPlus 
)

◆ setDataKeyError() [1/4]

void QCPGraph::setDataKeyError ( const QVector< double > &  key,
const QVector< double > &  value,
const QVector< double > &  keyError 
)

◆ setDataKeyError() [2/4]

void QCPGraph::setDataKeyError ( const QVector< double > &  key,
const QVector< double > &  value,
const QVector< double > &  keyError 
)

◆ setDataKeyError() [3/4]

void QCPGraph::setDataKeyError ( const QVector< double > &  key,
const QVector< double > &  value,
const QVector< double > &  keyErrorMinus,
const QVector< double > &  keyErrorPlus 
)

◆ setDataKeyError() [4/4]

void QCPGraph::setDataKeyError ( const QVector< double > &  key,
const QVector< double > &  value,
const QVector< double > &  keyErrorMinus,
const QVector< double > &  keyErrorPlus 
)

◆ setDataValueError() [1/4]

void QCPGraph::setDataValueError ( const QVector< double > &  key,
const QVector< double > &  value,
const QVector< double > &  valueError 
)

◆ setDataValueError() [2/4]

void QCPGraph::setDataValueError ( const QVector< double > &  key,
const QVector< double > &  value,
const QVector< double > &  valueError 
)

◆ setDataValueError() [3/4]

void QCPGraph::setDataValueError ( const QVector< double > &  key,
const QVector< double > &  value,
const QVector< double > &  valueErrorMinus,
const QVector< double > &  valueErrorPlus 
)

◆ setDataValueError() [4/4]

void QCPGraph::setDataValueError ( const QVector< double > &  key,
const QVector< double > &  value,
const QVector< double > &  valueErrorMinus,
const QVector< double > &  valueErrorPlus 
)

◆ setErrorBarSize() [1/2]

void QCPGraph::setErrorBarSize ( double  size)

◆ setErrorBarSize() [2/2]

void QCPGraph::setErrorBarSize ( double  size)

◆ setErrorBarSkipSymbol() [1/2]

void QCPGraph::setErrorBarSkipSymbol ( bool  enabled)

◆ setErrorBarSkipSymbol() [2/2]

void QCPGraph::setErrorBarSkipSymbol ( bool  enabled)

◆ setErrorPen() [1/2]

void QCPGraph::setErrorPen ( const QPen &  pen)

◆ setErrorPen() [2/2]

void QCPGraph::setErrorPen ( const QPen &  pen)

◆ setErrorType() [1/2]

void QCPGraph::setErrorType ( ErrorType  errorType)

◆ setErrorType() [2/2]

void QCPGraph::setErrorType ( ErrorType  errorType)

◆ setLineStyle() [1/3]

void QCPGraph::setLineStyle ( LineStyle  ls)

◆ setLineStyle() [2/3]

void QCPGraph::setLineStyle ( LineStyle  ls)

◆ setLineStyle() [3/3]

void QCPGraph::setLineStyle ( LineStyle  ls)

◆ setScatterSkip()

void QCPGraph::setScatterSkip ( int  skip)

◆ setScatterStyle() [1/3]

void QCPGraph::setScatterStyle ( const QCPScatterStyle style)

◆ setScatterStyle() [2/3]

void QCPGraph::setScatterStyle ( const QCPScatterStyle style)

◆ setScatterStyle() [3/3]

void QCPGraph::setScatterStyle ( const QCPScatterStyle style)

◆ upperFillBasePoint() [1/2]

QPointF QCPGraph::upperFillBasePoint ( double  upperKey) const
protected

◆ upperFillBasePoint() [2/2]

QPointF QCPGraph::upperFillBasePoint ( double  upperKey) const
protected

Friends And Related Function Documentation

◆ QCPLegend

QCPLegend
friend

◆ QCustomPlot

QCustomPlot
friend

Member Data Documentation

◆ mAdaptiveSampling

bool QCPGraph::mAdaptiveSampling
protected

◆ mChannelFillGraph

QPointer< QCPGraph > QCPGraph::mChannelFillGraph
protected

◆ mData

QCPDataMap * QCPGraph::mData
protected

◆ mErrorBarSize

double QCPGraph::mErrorBarSize
protected

◆ mErrorBarSkipSymbol

bool QCPGraph::mErrorBarSkipSymbol
protected

◆ mErrorPen

QPen QCPGraph::mErrorPen
protected

◆ mErrorType

ErrorType QCPGraph::mErrorType
protected

◆ mLineStyle

LineStyle QCPGraph::mLineStyle
protected

◆ mScatterSkip

int QCPGraph::mScatterSkip
protected

◆ mScatterStyle

QCPScatterStyle QCPGraph::mScatterStyle
protected

The documentation for this class was generated from the following file: