Stacked Graphs
Geometry & Aesthetics
 All Classes Functions Variables Enumerations
Public Attributes | List of all members
DataItem Struct Reference

Represents a single layer of the stacked graph. More...

#include <dataset.h>

Public Attributes

QString label
 A user-presentable label of the data.
 
EntryVector data
 The data values of this layer, for each time point.
 
QColor color
 The color for drawing this layer.
 
LayoutInfo layout
 Information created during layouting.
 
QPointF labelPos
 The optimal point to place the label, as determined during layouting.
 
int onsetTime
 The first time point where data has a value.
 
int lastTime
 The last time point where data has a value.
 
t_entry volatility
 The maximum data value change in this layer (used for sorting/coloring)
 
t_entry sum
 The sum of all the data values in this layer.
 
t_entry max
 The maximum data value in this layer.
 
int maxIdx
 The index of the maximum data value in the data vector.
 
int idx
 The index of this DataItem in the parent DataSet (as per DataSet::getData)
 

Detailed Description

Represents a single layer of the stacked graph.

Includes the data for each time point (data), label and other information which is calculated by various steps in the graphing pipeline.


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