You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
by default, draw icon and draw values are the same behavior. however, you can tweak the code so to only draw one icon. the function you should look for is open override func drawValues(context: CGContext)in BarChartRenderer
What did you do?
ℹ Created a
BarChartDataEntry
with multiple Y values and an icon.What did you expect to happen?
ℹ
BarChartView
renders the icon once perBarChartDataEntry
, something like this:What happened instead?
ℹ
BarChartView
renders the icon once per Y value.Charts Environment
Charts version/Branch/Commit Number:
3.4.0
Xcode version:
11.0
Swift version:
5
Platform(s) running Charts:
iPhone
macOS version running Xcode:
N/A
Demo Project
chartsTest.zip
The text was updated successfully, but these errors were encountered: