timescale appearance improved

This commit is contained in:
moneroexamples 2016-04-21 05:02:18 +00:00
parent f6447f1e39
commit 0a5ac0452d
2 changed files with 3 additions and 2 deletions

View File

@ -654,7 +654,7 @@ namespace xmreg {
// get mixins in time scale for visual representation
pair<string, double> 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("|")

View File

@ -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] = '*';
}