kevinzhow/PNChart-Swift

Auto layout support.

Closed this issue · 2 comments

Needs automatically re-render chart when layout has changed.

@gbmksquare Did you find a workaround to manually apply autolayout constraints? I'm wondering if we could just set superview-bounds to the constraints and go from there.

@hansemannn For now I just remove and re-add chart view in traitCollectionDidChange(previousTraitCollection:)