I’ve created a range selector chart and I want the chart to fill the entire width of a container view. I’ve added the ShinobiChart as a subview of my container view and set the frame of the chart to match the bounds of the superview. As the range selector has no legend or axis I would expect the chart to use all the width of the superview. But there is an odd couple of pixels space to the left and bottom of the chart view.
I’ve inspected the view using Reveal.app and noticed that while the SChartCavas view is correctly sized the subviews i.e. SChartGLView and SChartCanvasRenderView and sized incorrectly. The canvas size is 984x96 which is correct, but the sub views mentioned above are 982.5x94.5.
Is there some left over padding from where the axis or legend would be that is causing this anomaly?