Get the chart plot area size


Is there any way to get hold of the chart plot area size?(where the bars/columns… etc is)?


The axes and plot area are a part of a subview of the chart called canvas. The plot area is a subview within the canvas called glView. You can access the frame of this as follows:


To allow you to work with the elements on the canvas, you’ll also need to include the following header:

#import <ShinobiCharts/SChartCanvas.h>


Thanks! When doing this in the sChartRenderFinished chart delegate method I got the size of the chart area.