round corners on main view top graph view
This commit is contained in:
@@ -6,7 +6,7 @@
|
|||||||
"repositoryURL": "https://github.com/akatreyt/ChartsPackage",
|
"repositoryURL": "https://github.com/akatreyt/ChartsPackage",
|
||||||
"state": {
|
"state": {
|
||||||
"branch": "master",
|
"branch": "master",
|
||||||
"revision": "735f9542271945f1b3424c177ddd7f4bb9fcd0b1",
|
"revision": "f4f414828b79f0aa545f84f6fe38e2cf7f239865",
|
||||||
"version": null
|
"version": null
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -96,6 +96,7 @@ struct HeaderStatsView : UIViewRepresentable {
|
|||||||
dataSet.secondaryTextColor = UIColor.systemGray
|
dataSet.secondaryTextColor = UIColor.systemGray
|
||||||
dataSet.valueColors = [.white]
|
dataSet.valueColors = [.white]
|
||||||
dataSet.highlightAlpha = 0.0
|
dataSet.highlightAlpha = 0.0
|
||||||
|
dataSet.roundedCornerValue = 10
|
||||||
|
|
||||||
if let descriptor = UIFontDescriptor.preferredFontDescriptor(
|
if let descriptor = UIFontDescriptor.preferredFontDescriptor(
|
||||||
withTextStyle: .body).withSymbolicTraits([.traitBold]) {
|
withTextStyle: .body).withSymbolicTraits([.traitBold]) {
|
||||||
|
|||||||
Reference in New Issue
Block a user