From e634efb4490c694865f659216304483816a1c1ab Mon Sep 17 00:00:00 2001 From: Ivan Manov Date: Wed, 17 Apr 2019 02:43:49 +0500 Subject: [PATCH] Charts lib update --- Cartfile.resolved | 2 +- VergeiOS/Components/WalletChart/PriceChartView.swift | 2 +- VergeiOS/Components/WalletChart/VolumeChartView.swift | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cartfile.resolved b/Cartfile.resolved index 52e7f6ca..b80a1633 100644 --- a/Cartfile.resolved +++ b/Cartfile.resolved @@ -5,7 +5,7 @@ github "JohnEstropia/CoreStore" "6.3.1" github "SwiftyJSON/SwiftyJSON" "4.3.0" github "Swinject/Swinject" "2.6.0" github "Swinject/SwinjectStoryboard" "2.2.0" -github "danielgindi/Charts" "v3.2.2" +github "danielgindi/Charts" "v3.3" github "evgenyneu/keychain-swift" "11.0.0" github "gmotzespina/QRCode" "c07e17120ffb34fdfa7ec1f3a85bc1afd39cfdc2" github "hackiftekhar/IQKeyboardManager" "v6.1.1" diff --git a/VergeiOS/Components/WalletChart/PriceChartView.swift b/VergeiOS/Components/WalletChart/PriceChartView.swift index 27a8c45a..ad884a1a 100644 --- a/VergeiOS/Components/WalletChart/PriceChartView.swift +++ b/VergeiOS/Components/WalletChart/PriceChartView.swift @@ -36,7 +36,7 @@ class PriceChartView: AbstractChartView { } func set(chartData: [ChartDataEntry]) { - let priceSet = LineChartDataSet(values: chartData, label: "Price History") + let priceSet = LineChartDataSet(entries: chartData, label: "Price History") style(priceSet: priceSet) let data = LineChartData(dataSet: priceSet) diff --git a/VergeiOS/Components/WalletChart/VolumeChartView.swift b/VergeiOS/Components/WalletChart/VolumeChartView.swift index dda4dc26..bef9b420 100644 --- a/VergeiOS/Components/WalletChart/VolumeChartView.swift +++ b/VergeiOS/Components/WalletChart/VolumeChartView.swift @@ -36,7 +36,7 @@ class VolumeChartView: AbstractChartView { } func set(chartData: [BarChartDataEntry]) { - let priceSet = BarChartDataSet(values: chartData, label: "Volume History") + let priceSet = BarChartDataSet(entries: chartData, label: "Volume History") style(priceSet: priceSet) DispatchQueue.main.async {