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
To solve this problem, it is necessary to advance the timing of calling renderer.drawData(context: context) in the draw(_ rect: CGRect) method of BarLineChartViewBase.
However, I am worried about the degradation caused by this change.
I will send a PR if there is no problem, how is it?
// BarLineChartViewBase.swiftopenoverridefunc draw(_ rect:CGRect){
super.draw(rect)
guard data !=nil,let renderer = renderer else{return}letoptionalContext=NSUIGraphicsGetCurrentContext()
guard let context = optionalContext else{return}// execute all drawing commandsdrawGridBackground(context: context)
renderer.drawData(context: context)// <-- solve this issue.
What did you do?
i use filling area between two line charts.
What did you expect to happen?
A fill should appear between the two line graphs, and the leftAxis line should appear.
What happened instead?
leftAxis line disappears.
ℹ Please replace this with of what happened instead.
Charts Environment
Charts version/Branch/Commit Number: 3.3.0
Xcode version:10.2
Swift version:5.0
Platform(s) running Charts:iOS 12.2
macOS version running Xcode: 10.14.5
Is there an easy way to solve this problem?
Is it better to customize it according to IFillFormatter or make it inherit from LineChartRenderer?
The text was updated successfully, but these errors were encountered: