diff options
Diffstat (limited to 'app/main.qml')
-rw-r--r-- | app/main.qml | 24 |
1 files changed, 17 insertions, 7 deletions
diff --git a/app/main.qml b/app/main.qml index 45864ba..3ea844c 100644 --- a/app/main.qml +++ b/app/main.qml @@ -260,28 +260,38 @@ Window { ValueAxis { id: octetsAxis - max: 2 + max: 200 min: 0 tickCount: 3 } - LineSeries { - id: netSeriesIn + AreaSeries { name: "InOctets" + opacity: 1.0 + borderColor: "#FF0039A5" + borderWidth: 1 axisX: timeNetAxis axisY: octetsAxis - XYPoint { x: new Date().getTime(); y: 0 } + upperSeries: LineSeries { + id: netSeriesIn + XYPoint { x: new Date().getTime(); y: 0 } + } } - LineSeries { - id: netSeriesOut + AreaSeries { name: "OutOctets" + opacity: 0.5 + borderWidth: 0 + color: "#FFD52B1E" axisX: timeNetAxis axisY: octetsAxis - XYPoint { x: new Date().getTime(); y: 0 } + upperSeries: LineSeries { + id: netSeriesOut + XYPoint { x: new Date().getTime(); y: 0 } + } } function updateStats(in_, out_) { |