Remove Border and Margin around iOS Charts in Swift
<p>I am using <a href="https://github.com/danielgindi/Charts" rel="noreferrer">iOS Charts</a> with Swift 3, and I can't figure out how to do a couple things:</p>

<ol>
<li><p>I want to remove the margin around the chart. I know the chart goes edge-to-edge in my UI because if I change the chart's background color, it goes all the way to the edge. How do I remove the gap indicated by the red arrows below?</p></li>
<li><p>How do I remove the border around the whole graph (note the black arrow)? I already have <code>totalsGraph.drawBordersEnabled = false</code> and it doesn't work. Is there a different option for that?</p></li>
</ol>

<p><a href="https://i.stack.imgur.com/7yLt9.png" rel="noreferrer"><img src="https://i.stack.imgur.com/7yLt9.png" alt="enter image description here"></a></p>

<p>Thank you!</p>