SChartAnnotationZooming Aspect


#1

Hello, hope you’re doing great.

I have a chart with a bunch of annotations, and when I zoom way out, they collide with each other, then overlap.

I switched to SChartAnnotationZooming in an attempt to remedy this. But now the annotations are skewed as they scale. I want them to stretch in the x-dimension, but not the y-dimension. As they get very crowded, I’d like to lay them out a different way, or maintains the aspect ratio of subviews when resized. 

I have a UIView subclass that I add as a subview to the SChartAnnotationZooming. Inside that class’s layoutSubviews, I’d like to get the bounds and re-layout my subviews appropriately. Is this the correct approach?

Thanks for your guidance.