ChartsOrg / ChartsOrg/Charts

How to increase icon size in Pie chart ?

Open
#4,972 1 comment 1 reaction 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.