mirror of
https://github.com/dashpay/dash.git
synced 2024-12-27 04:52:59 +01:00
qt: Lower the number of data samples in TrafficGraphData to make it move much smoother (#3841)
This commit is contained in:
parent
18c4ad1468
commit
b8ad25e82e
@ -1,7 +1,7 @@
|
|||||||
#include <qt/trafficgraphdata.h>
|
#include <qt/trafficgraphdata.h>
|
||||||
|
|
||||||
const int TrafficGraphData::RangeMinutes[] = {5,10,15,30,60,120,180,360,720,1440};
|
const int TrafficGraphData::RangeMinutes[] = {5,10,15,30,60,120,180,360,720,1440};
|
||||||
const int TrafficGraphData::DESIRED_DATA_SAMPLES = 800;
|
const int TrafficGraphData::DESIRED_DATA_SAMPLES = TrafficGraphData::RangeMinutes[TrafficGraphData::Range_5m] * 60; // i.e. one data sample per second for Range_5m
|
||||||
const int TrafficGraphData::DesiredQueueSizes[] = {
|
const int TrafficGraphData::DesiredQueueSizes[] = {
|
||||||
TrafficGraphData::DESIRED_DATA_SAMPLES, //Range_5m
|
TrafficGraphData::DESIRED_DATA_SAMPLES, //Range_5m
|
||||||
TrafficGraphData::DESIRED_DATA_SAMPLES/2, //Range_10m
|
TrafficGraphData::DESIRED_DATA_SAMPLES/2, //Range_10m
|
||||||
|
Loading…
Reference in New Issue
Block a user