How to increase icon size in Pie chart ?
Open
- Dominant language
- Swift
- Stars
- 28k
- Forks
- 6k
- PR merge metrics
- No merged PRs in 30d
Description
values = (0.. PieChartDataEntry in
let image = UIImageView(frame: CGRect(x: 0, y: 0, width: 30, height: 30))
image.contentMode = .scaleAspectFit
if let imageURL = items[i].icon, let url = URL(string: imageURL) {
image.af_setImage(withURL: url)
}
return PieChartDataEntry(value: items[i].totalDonations ?? 0.0, label: "", icon: image.image)
}
Contributor guide
Assessment
This issue has not been assessed yet.