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
Trying to offset the legend from chart view using:
chartLegend.yOffset = 36
and instead of margin between chart and legend I got an emptiness below legend with desired value [of 36] while legend keeps sticking to chart view with no margin at all
is it a bug or am I doing it wrong?
Thanks!
The text was updated successfully, but these errors were encountered:
@liuxuan30 actually I expected a gap between chart and legend, bcs curent (external margin) could be achieved by using of just a different frame for chart
oh, please take a look at open func renderLegend(context: CGContext) for how the position is calculated. It has been a while and I don't remember how it calculates.
Trying to offset the legend from chart view using:
chartLegend.yOffset = 36
and instead of margin between chart and legend I got an emptiness below legend with desired value [of 36] while legend keeps sticking to chart view with no margin at all
is it a bug or am I doing it wrong?
Thanks!
The text was updated successfully, but these errors were encountered: