Skip to content

Commit

Permalink
fix: fixed in/out values position in the Network chart (exelban#1900)
Browse files Browse the repository at this point in the history
  • Loading branch information
exelban committed Apr 19, 2024
1 parent 0283bd6 commit 445b842
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Kit/plugins/Charts.swift
Original file line number Diff line number Diff line change
Expand Up @@ -425,8 +425,8 @@ public class NetworkChartView: NSView {
}

public func addValue(upload: Double, download: Double) {
self.inChart.addValue(DoubleValue(upload))
self.outChart.addValue(DoubleValue(download))
self.inChart.addValue(DoubleValue(download))
self.outChart.addValue(DoubleValue(upload))
}

public func reinit(_ num: Int = 60) {
Expand Down

0 comments on commit 445b842

Please sign in to comment.