diff --git a/src/page.h b/src/page.h index a4652ff..c6d56d6 100644 --- a/src/page.h +++ b/src/page.h @@ -654,7 +654,7 @@ namespace xmreg { // get mixins in time scale for visual representation pair mixin_times_scale = xmreg::timestamps_time_scale( mixin_timestamps, - server_timestamp, 140); + server_timestamp, 130); // add beginning and end to the mixin_times_scale string timescale_str = string("|") diff --git a/src/tools.cpp b/src/tools.cpp index d7ac88c..6e0345b 100644 --- a/src/tools.cpp +++ b/src/tools.cpp @@ -548,7 +548,8 @@ namespace xmreg continue; } - uint64_t timestamp_place = double(timestamp-time0)/double(interval_length)*(time_axis_length-1); + uint64_t timestamp_place = double(timestamp-time0) + / double(interval_length)*(time_axis_length-1); //cout << timestamp_place << endl; empty_time[timestamp_place + 1] = '*'; }