Advertisement
Guest User

Untitled

a guest
Jun 15th, 2019
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. func _costChart( comm: Double, margin: Double, expense: Double) {
  2.  
  3. let yVals = BarChartDataEntry(x: 0.0, yValues: [comm, margin, expense ], icon: #imageLiteral(resourceName: "icon"))
  4.  
  5. let set = BarChartDataSet(entries: yVals, label: "")
  6.  
  7. let data = BarChartData(dataSets: set)
  8.  
  9. costChart.data = data
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement