Getting plot area frame


How can I determine the bounds of the plot – just the plot, without the legend, axis labels, etc.? Specifically, I want to obtain a CGRect representation of the same area encompassed by the border drawn when setting plotAreaBorderThickness to a value greater than 0.



You can access the frame of the canvas as follows:



Not exactly what I was looking for – the canvas frame includes the area used by the axes labels – but self.canvas.glView.frame fits my needs. Thanks for pointing me in the right direction.