KD Chart 2  [rev.2.7]
Classes | Public Types | Signals | Public Member Functions | List of all members
KDChart::PlotterDiagramCompressor Class Reference

#include <KDChartPlotterDiagramCompressor.h>

Inheritance diagram for KDChart::PlotterDiagramCompressor:
Inheritance graph
[legend]
Collaboration diagram for KDChart::PlotterDiagramCompressor:
Collaboration graph
[legend]

Classes

class  CachePosition
 
class  DataPoint
 
class  Iterator
 

Public Types

enum  CompressionMode {
  SLOPE = 0,
  DISTANCE,
  BOTH
}
 
typedef QVector< DataPointDataPointVector
 

Signals

void boundariesChanged ()
 
void rowCountChanged ()
 

Public Member Functions

Iterator begin (int dataSet)
 
void cleanCache ()
 
DataPoint data (const CachePosition &pos) const
 
QPair< QPointF, QPointF > dataBoundaries () const
 
int datasetCount () const
 
Iterator end (int dataSet)
 
qreal maxSlopeChange () const
 
QAbstractItemModel * model () const
 
 PlotterDiagramCompressor (QObject *parent=0)
 
int rowCount () const
 
void setCompressionModel (CompressionMode value)
 
void setForcedDataBoundaries (const QPair< qreal, qreal > &bounds, Qt::Orientation direction)
 
void setMaxSlopeChange (qreal value)
 
void setMergeRadius (qreal radius)
 
void setMergeRadiusPercentage (qreal radius)
 
void setModel (QAbstractItemModel *model)
 
 ~PlotterDiagramCompressor () override
 

Detailed Description

Definition at line 43 of file KDChartPlotterDiagramCompressor.h.

Member Typedef Documentation

Definition at line 114 of file KDChartPlotterDiagramCompressor.h.

Member Enumeration Documentation

Enumerator
SLOPE 
DISTANCE 
BOTH 

Definition at line 49 of file KDChartPlotterDiagramCompressor.h.

Constructor & Destructor Documentation

PlotterDiagramCompressor::PlotterDiagramCompressor ( QObject parent = 0)
explicit
PlotterDiagramCompressor::~PlotterDiagramCompressor ( )
override

Member Function Documentation

PlotterDiagramCompressor::Iterator PlotterDiagramCompressor::begin ( int  dataSet)
void KDChart::PlotterDiagramCompressor::boundariesChanged ( )
signal
void PlotterDiagramCompressor::cleanCache ( )
PlotterDiagramCompressor::DataPoint PlotterDiagramCompressor::data ( const CachePosition pos) const
QPair< QPointF, QPointF > PlotterDiagramCompressor::dataBoundaries ( ) const
int PlotterDiagramCompressor::datasetCount ( ) const
PlotterDiagramCompressor::Iterator PlotterDiagramCompressor::end ( int  dataSet)
qreal PlotterDiagramCompressor::maxSlopeChange ( ) const
QAbstractItemModel * PlotterDiagramCompressor::model ( ) const
int PlotterDiagramCompressor::rowCount ( ) const
void KDChart::PlotterDiagramCompressor::rowCountChanged ( )
signal
void PlotterDiagramCompressor::setCompressionModel ( CompressionMode  value)
void PlotterDiagramCompressor::setForcedDataBoundaries ( const QPair< qreal, qreal > &  bounds,
Qt::Orientation  direction 
)
void PlotterDiagramCompressor::setMaxSlopeChange ( qreal  value)
void PlotterDiagramCompressor::setMergeRadius ( qreal  radius)
void PlotterDiagramCompressor::setMergeRadiusPercentage ( qreal  radius)
void PlotterDiagramCompressor::setModel ( QAbstractItemModel *  model)

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

Klarälvdalens Datakonsult AB (KDAB)
"The Qt, C++ and OpenGL Experts"
https://www.kdab.com/

https://www.kdab.com/development-resources/qt-tools/kd-chart/