From a5d1a89ea5e48397985019f01cd69e04bef6042b Mon Sep 17 00:00:00 2001 From: Ayden P Date: Mon, 4 Dec 2017 03:32:27 -0500 Subject: [PATCH] Remove unneeded chart insets --- Bank/Views/AccountHeaderView.swift | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Bank/Views/AccountHeaderView.swift b/Bank/Views/AccountHeaderView.swift index 6771488..2aafcb4 100644 --- a/Bank/Views/AccountHeaderView.swift +++ b/Bank/Views/AccountHeaderView.swift @@ -60,6 +60,8 @@ class AccountHeaderView: UIView { chart.lineWidth = 3 chart.labelFont = .systemFont(ofSize: 0) chart.labelColor = .clear + chart.topInset = 0 + chart.bottomInset = 0 chartContainerView.addSubview(chart) chartSegmentedControl.removeAllSegments() ChartViewRange.allOptions.enumerated().forEach {