mirror of
https://git.wownero.com/wownero/onion-wownero-blockchain-explorer.git
synced 2024-08-15 00:33:12 +00:00
timescale appearance improved
This commit is contained in:
parent
f6447f1e39
commit
0a5ac0452d
2 changed files with 3 additions and 2 deletions
|
@ -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("|")
|
||||
|
|
|
@ -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] = '*';
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue