0

I am using CHARTS library in Swift. https://github.com/danielgindi/Charts

currently plotting barchart using sample value with icons using the following code

barValue = BarChartDataEntry(x: Double(i.x!), y: Double(y), icon: UIImage(named: "xIcon"))

by doing this my chart is plotted but when I add two values at the same point bar chart show icons overlapping and what I want is to have icon on the same bar like one icon on top of another.

Current result:

enter image description here

Expected:

enter image description here

NickCoder
  • 1,504
  • 2
  • 23
  • 35

0 Answers0