Skip to content

Commit

Permalink
Charts lib update
Browse files Browse the repository at this point in the history
  • Loading branch information
hellc committed Apr 16, 2019
1 parent 4793a11 commit e634efb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cartfile.resolved
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion VergeiOS/Components/WalletChart/PriceChartView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion VergeiOS/Components/WalletChart/VolumeChartView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit e634efb

Please sign in to comment.