Stacked Graphs
Geometry & Aesthetics
 All Classes Functions Variables Enumerations
stackgraphlayouter.h
1 #ifndef STACKGRAPHLAYOUTER_H
2 #define STACKGRAPHLAYOUTER_H
3 
4 #include <QObject>
5 #include "graphlayouter.h"
6 
11 {
12  Q_OBJECT
13  Q_INTERFACES(INamedObject)
14 
15 public:
16  StackGraphLayouter(QObject *parent);
18 
19  QString GetName() { return "Stacked"; }
20 
21 private:
22  void calculateBaseLine(DataSet& dataset, QVector<double>& baseline);
23 };
24 
25 #endif // STACKGRAPHLAYOUTER_H
Class describes a naive layouting algorithm with a straight baseline at zero.
Definition: stackgraphlayouter.h:10
The data set.
Definition: dataset.h:85
Derived classes provide layouting functionality.
Definition: graphlayouter.h:11
QString GetName()
Returns a user-presentable name for the object.
Definition: stackgraphlayouter.h:19
Interface for objects which have a name.
Definition: namedobject.h:9