I needed to subclass LineChartRenderer and override its method drawCircles(context:). It is private but ok, I can override drawExtras(context:).
The problem is these methods involve a lot of private/internal methods which are not accessible. So instead of overriding a single method I need to subclass LineRadarRenderer (superclass of LineChartRenderer), copy a variable, 2 internal methods, 3 extensions (which are not accessible outside this module) and a global function.
I needed to subclass
LineChartRenderer
and override its methoddrawCircles(context:)
. It is private but ok, I can overridedrawExtras(context:)
. The problem is these methods involve a lot of private/internal methods which are not accessible. So instead of overriding a single method I need to subclassLineRadarRenderer
(superclass ofLineChartRenderer
), copy a variable, 2 internal methods, 3 extensions (which are not accessible outside this module) and a global function.Linked problems: https://github.com/danielgindi/Charts/issues/3258 https://github.com/danielgindi/Charts/issues/5081