mirror of
https://github.com/morgan9e/macos-stats
synced 2026-04-15 00:34:08 +09:00
feat: added a new NetworkChartViewV2 chart. Which merges 2 line charts. Moved the disk and network charts in the popup to the new chart.
This commit is contained in:
@@ -22,10 +22,7 @@ public class NetworkChart: WidgetWrapper {
|
||||
private var commonScaleState: Bool = true
|
||||
private var reverseOrderState: Bool = false
|
||||
|
||||
private var chart: NetworkChartView = NetworkChartView(
|
||||
frame: NSRect(x: 0, y: 0, width: 30, height: Constants.Widget.height - (2*Constants.Widget.margin.y)),
|
||||
num: 60, minMax: false, toolTip: false
|
||||
)
|
||||
private var chart: NetworkChartView = NetworkChartView(frame: NSRect(x: 0, y: 0, width: 30, height: Constants.Widget.height-(2*Constants.Widget.margin.y)), num: 60)
|
||||
private var width: CGFloat {
|
||||
get {
|
||||
switch self.historyCount {
|
||||
|
||||
Reference in New Issue
Block a user