Commit 2c2a0b6e authored by Giacomo Strangolino's avatar Giacomo Strangolino
Browse files

1.0.2: request 14448: data_format_str --> dfs

parent 8299cea4
1.0.2: request 14448: data_format_str --> dfs
release_01: first release of the project "i0mapmon". release_01: first release of the project "i0mapmon".
...@@ -178,7 +178,7 @@ void I0MMonPlot::onDataReady(const QList<CuData> &dl) { ...@@ -178,7 +178,7 @@ void I0MMonPlot::onDataReady(const QList<CuData> &dl) {
printf("\e[0;33mI0MMonPlot::onDataReady yd %s\e[0m\n", datos(yd)); printf("\e[0;33mI0MMonPlot::onDataReady yd %s\e[0m\n", datos(yd));
printf("\e[1;35mx %s , y %s\e[0m\n", vtoc2(xd, "value"), vtoc2(yd, "value")); printf("\e[1;35mx %s , y %s\e[0m\n", vtoc2(xd, "value"), vtoc2(yd, "value"));
if(xd.has("data_format_str", "vector")) { if(xd.has("data_format_str", "vector") || xd.has("dfs", "vector")) { // cumbia 1.3.0 data_format_str -> dfs
// average // average
double sum = 0.0; double sum = 0.0;
const std::vector<double> &v = xd["value"].toDoubleVector(); const std::vector<double> &v = xd["value"].toDoubleVector();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment