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 align the chart description text to the lower left of the chart instead of the default lower right of the chart, but neither of these work. Text stays on right, and then behaves badly (truncated).
please post a screenshot. I suspect your drawing rect is not on left, so it looks like not aligned.
check @objc internal func drawDescription(context: CGContext)
varposition= description.position
// if no position specified, draw on default position
if position ==nil{letframe=self.bounds
position =CGPoint(
x: frame.width - _viewPortHandler.offsetRight - description.xOffset,
y: frame.height - _viewPortHandler.offsetBottom - description.yOffset - description.font.lineHeight)}
you can stroke the rect or draw the position so you know where it starts. I don't think it's a bug.
Trying to align the chart description text to the lower left of the chart instead of the default lower right of the chart, but neither of these work. Text stays on right, and then behaves badly (truncated).
and
The text was updated successfully, but these errors were encountered: