-
-
Notifications
You must be signed in to change notification settings - Fork 6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ChartRenderer
's must be initialized with a chart
#2982
Conversation
Updating fork from main
What's the reason for this? |
Does it make sense that a ChartRenderer has no chart to render? My guess is this initializer parameter was made optional because the |
This PR is in conjunction with #2981 to make animator non nil as well. Looks fine to merge. I will take a deeper look at both PRs and original code. BTW @jjatie among your PRs, is there any dependency/order to merge? I saw these two PRs are straightforward and can pass CI as the main reason to merge in short time. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CombinedChartRenderer
also has similar footprint,
@objc public init(chart: CombinedChartView?, animator: Animator, viewPortHandler: ViewPortHandler?)
shall we change it as well?
Oops, I missed that one. Fixing now. |
Any PR that has a dependency on another as a comment indicating that. For the most part there are no dependencies. |
oops, conflicts. when you solve I will check again. |
@liuxuan30 Fixed, but pull #2980 first. While in some cases I might be able to consolidate some PRs, I think for the most part they should be separate. |
this can be next to merge? have to work then. check back later |
Yes. It's fixed |
squash to merge for this PR |
No description provided.