@@ -56,7 +56,8 void setAxesProperties(const DataSeries<Dim> &dataSeries, QCustomPlot &plot) noe | |||
|
56 | 56 | } |
|
57 | 57 | |
|
58 | 58 | /** |
|
59 |
* Struct used to create plottables, depending on the type of the data series from which to create |
|
|
59 | * Struct used to create plottables, depending on the type of the data series from which to create | |
|
60 | * them | |
|
60 | 61 | * @tparam T the data series' type |
|
61 | 62 | * @remarks Default implementation can't create plottables |
|
62 | 63 | */ |
@@ -106,7 +107,8 struct PlottablesCreator<T, | |||
|
106 | 107 | }; |
|
107 | 108 | |
|
108 | 109 | /** |
|
109 |
* Struct used to update plottables, depending on the type of the data series from which to update |
|
|
110 | * Struct used to update plottables, depending on the type of the data series from which to update | |
|
111 | * them | |
|
110 | 112 | * @tparam T the data series' type |
|
111 | 113 | * @remarks Default implementation can't update plottables |
|
112 | 114 | */ |
@@ -145,7 +147,8 struct PlottablesUpdater<T, | |||
|
145 | 147 | } |
|
146 | 148 | |
|
147 | 149 | // - Gets the data of the series included in the current range |
|
148 |
// - Updates each plottable by adding, for each data item, a point that takes x-axis data |
|
|
150 | // - Updates each plottable by adding, for each data item, a point that takes x-axis data | |
|
151 | // and value data. The correct value is retrieved according to the index of the component | |
|
149 | 152 | auto subDataIts = dataSeries.subData(range.m_TStart, range.m_TEnd); |
|
150 | 153 | for (auto it = subDataIts.first; it != subDataIts.second; ++it) { |
|
151 | 154 | for (const auto &dataContainer : dataContainers) { |
General Comments 0
You need to be logged in to leave comments.
Login now